无论如何都知道哪些通知已被删除?当我调用此代码时:
@Override
public void onServiceConnected() {
AccessibilityServiceInfo info = new AccessibilityServiceInfo();
info.eventTypes = AccessibilityEvent.TYPES_ALL_MASK;
info.notificationTimeout = 1;
info.feedbackType = AccessibilityEvent.TYPES_ALL_MASK;
setServiceInfo(info);
}
@Override
public void onAccessibilityEvent(AccessibilityEvent event) {
String s = event.getText()+"";
Log.d(TAG, s);
}
我只有Notification dissmised
,但这并没有告诉我哪个通知被驳回。