I have a Samsung Galaxy S7 and in the past month the device has reset itself in my pocket twice. This means it wipes out everything including files and photos in my SD card. I have seen that the device turns on due to some push in the home button and when the phone brushes against my trousers, it registers fingerprint and eventually gets reset. The behavior with LG or HTC is different since these devices disable the fingerprint after 4 attempts (I think) and you can only unlock with your backup password/pin. How to prevent this reset? Please help.