I know you can use dpm to set an app as a device owner via a runtime exec command, but my big question is can you also use the dpm to remove an app as device owner? Such as with a password run the code to remove the app from device ownership?
I am new to android development and I am learning as much as possible. The company I work for owns the devices and wants to keep employees from removing the app. For security reasons, rooting is not feasible. However at the same time they would like to be able to remove the app at a future date if necessary.
At least point me in the right direction for further research.