Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a6a9f06e authored by Matías Hernández's avatar Matías Hernández
Browse files

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
parent ba2ddbe8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment