Hi,
I am developing a statistics gathering application for one of the local vendors. I need to grant the PACKAGE_USAGE_STATS permission without user intervention.
As I see it on a factory reset phone certain apps which are pre-installed in the phone already have this enabled. Even if I install the apk as a system app. I still need to enable the permission manually under Settings->Security->Apps With Data Usage.
Any insight on how I can accomplish this?
I am developing a statistics gathering application for one of the local vendors. I need to grant the PACKAGE_USAGE_STATS permission without user intervention.
As I see it on a factory reset phone certain apps which are pre-installed in the phone already have this enabled. Even if I install the apk as a system app. I still need to enable the permission manually under Settings->Security->Apps With Data Usage.
Any insight on how I can accomplish this?