diff options
author | 2024-12-23 15:36:23 +0100 | |
---|---|---|
committer | 2024-12-23 16:50:15 +0100 | |
commit | a6a9f06ea3c114946da20c570e057f9c417b5c74 (patch) | |
tree | 0cba8f9f85cb3c7a3623f39bb26f3bb3b13d4043 /libs/androidfw/AssetsProvider.cpp | |
parent | ba2ddbe83fdd72fa25c68dd82c9358c085780546 (diff) |
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
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions