BinTianqi/OwnDroid ? reverse-engineered prompt
Reverse engineered prompt
Build me an Android app called OwnDroid that uses DevicePolicyManager to manage my device with device owner privileges. I want a simple, clean interface where I can turn on controls for things like disabling the camera and screenshots, muting volume, locking task mode, managing Wi Fi, hiding or suspending apps, blocking uninstall, granting or revoking permissions, setting user restrictions, creating or switching users, and changing password or screen timeout settings.
Please make it work in device owner mode first, with support for activating through ADB, Shizuku, Dhizuku, and root if possible, and also include a work profile mode where it makes sense. If you can, add a small intent based API so other apps or ADB can trigger actions like hiding an app, setting permissions, disabling screenshots, or locking the device. Keep the app polished and practical, and follow the existing README behavior closely. If you need current Android docs while wiring the policy APIs, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit