NM Binder Perf: Correctly invalidate mKnownNotifications in cancelAll()
Namely, only notifications associated to the current package and user. This won't make a difference for most apps, but was overtriggering for delegates or apps with INTERACT_ACROSS_USERS permissions. Also made all paths that call enqueue/cancel update this structure, so weird cases are covered. Bug: 381875150 Test: atest NotificationManagerTest Flag: android.app.nm_binder_perf_throttle_notify Change-Id: I3bc1a1afa10b0a77ec6a3f898b3b6654ce001c82
Loading
Please register or sign in to comment