Does the Android device owner application obtain system application permissions?
I'm trying to put together something about the device owner application
For the newly released EMM API, does the device owner application have a way to obtain system application permissions? I noticed that the API allows packages to be installed remotely, but for it to work, the application needs to have install_ Packages permission (reserved for system applications)
In addition, does the Android hidden API have any official documentation, or just code checks and comments?
resolvent:
The device owner does not have system application permissions
On marshmallows, the device owner can call packageinstaller and silently install the application
Testdpc basically shows all the functions you can achieve: https://github.com/googlesamples/android-testdpc
For more interesting information: https://florent-dupont.blogspot.ca/2015/02/10-things-to-know-about-device-owner.html