[英]uid … does not have android.permission.UPDATE_APP_OPS_STATS
Since Android 4.3 I receive following stacktraces: 从Android 4.3开始,我收到以下堆栈跟踪:
[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. 我尝试了Android 4.3的新用户限制功能,将我的应用启动到显示通知的该用户下,没有任何问题。
Any ideas? 有任何想法吗?
This is a known issue on the current Android release. 这是当前Android版本上的一个已知问题。 Here is some more information for follow up: https://code.google.com/p/android/issues/detail?id=58043
以下是一些后续的更多信息: https : //code.google.com/p/android/issues/detail?id=58043
It has been fixed but not yet released. 它已经修复,但尚未发布。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.