Warning
Because Google has already shifted the DevicePolicyManager API, the app architecture will be redesigned. The Device Policy features will become a standalone app acting as the Device Owner core, and the other apps will request the required functionality from it.
Duress password trigger.
Tiny app to listen for a duress password on the lockscreen.
When found, it can send a broadcast message or wipe the device.
Also take a look at:
Be aware that the app does not work in safe mode.
- Emulator, Android 12
- Google Pixel 4a/5a, Android 12
- Samsung Tab S8, Android 12
- ACCESSIBILITY - listen for a duress password on the lockscreen
- DEVICE_ADMIN - wipe the device (optional)