Forum Discussion
How can I prevent a factory reset triggered by hardware buttons (Power + Volume) on an Android device?
This two setting is preventing the user while Enterprise application is running. But when user switch off the device and try to bring the reset option power + volume. In that situation user is able to reset device, that's means user restriction is not working after power off.
The DISALLOW_SAFE_BOOT and DISALLOW_FACTORY_RESET settings are effective for preventing factory resets and safe boots initiated through the Android device's software interface, such as through the device settings. But this configuration is not effective for hardware buttons (Power + Volume keys).
Not: Its prevent from user interface like android settings but not from hardware. Restrictions Applied correctly
Yeah i corrected that in my post before because i mixed it when writing and you are correct but i think this is something only the manufacturer can do as providing such setting maybe via OEMconfig and into their firmware, not possible via Android itself.