Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

uid ... does not have android.permission.UPDATE_APP_OPS_STATS

Since Android 4.3 I receive following stacktraces:

[STACKTRACE] => java.lang.SecurityException: uid 10140 does not have android.permission.UPDATE_APP_OPS_STATS.
    at android.os.Parcel.readException(Parcel.java:1431)
    ...

The exception is thrown at the following line:

notificationManager.notify(0, notification.build());

I tried the new resticted user feature of Android 4.3, lauched my app under this user which showed a notification, without any problems.

Any ideas?

like image 463
almisoft Avatar asked Aug 25 '13 23:08

almisoft


People also ask

What is Android permission Get_accounts?

android.permission.GET_ACCOUNTS. Allows access to the list of accounts in the Accounts Service. The app uses this permission in an effort to find the device user's name when the support session is presented to a representative.

What are privileged permissions in Android?

The privapp-permissions. xml file can only grant or deny permissions for privileged apps on the same partition. For example, if an app on the /product partition requests privileged permissions, the request can only be granted or denied by a privapp-permissions. xml file that's also on /product .

What are the permission protection levels in Android?

The three permission protection levels in Android are as follows: Normal Permissions. Signature Permissions. Dangerous Permissions.


1 Answers

This is a known issue on the current Android release. Here is some more information for follow up: https://code.google.com/p/android/issues/detail?id=58043

It has been fixed but not yet released.

like image 127
hcpl Avatar answered Oct 06 '22 03:10

hcpl