Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Device Owner app get System App permissions?

I'm trying to put some pieces together regarding the Device Owner application.

With regards the the newly released EMM API, is there a way for the Device Owner application get system app permissions? I have noticed that the API allows remote package installation, but for this to work, the application needs to have INSTAL_PACKAGES permissions (reserved for system apps).

Also, is there any official documentation to the Android Hidden API, or is it all just code inspection and comments?

like image 924
Martin Rončka Avatar asked Mar 18 '16 11:03

Martin Rončka


1 Answers

Device Owner does not have system app permissions.

On Marshmallow a Device Owner can call PackageInstaller and silently install apps.

The TestDPC basically shows all the features you can implement: https://github.com/googlesamples/android-testdpc

For some more interesting info: https://florent-dupont.blogspot.ca/2015/02/10-things-to-know-about-device-owner.html

like image 121
bmg Avatar answered Oct 16 '22 00:10

bmg