Android cancel notification with key throws security exception

时间:2017-06-12 16:54:09

标签: android

Noticed a few stack traces with a SecurityException thrown when I run cancelNotification(String key) in a NotificationListenerService. Isn't this supposed not to happen?

java.lang.SecurityException: 
at android.os.Parcel.readException(Parcel.java:1620)
at android.os.Parcel.readException(Parcel.java:1573)
at android.app.INotificationManager$Stub$Proxy.cancelNotificationsFromListener(INotificationManager.java:985)

0 个答案:

没有答案