diff options
| author | 2024-05-16 16:14:29 -0700 | |
|---|---|---|
| committer | 2024-07-08 10:11:09 -0700 | |
| commit | 34326c14dbb213c1e6ebf2ad12aa7bf5adf03a8d (patch) | |
| tree | e5da9156dc00d037eebaaf414095bdd7ee23dda4 /libs/androidfw/StringPool.cpp | |
| parent | ea26244267c8b685319e7eadc268c9666ab9a358 (diff) | |
Update NoMan's ShortcutHelper to use ShortcutChangeCallback
LauncherApps.Callback isn't user aware so we wouldn't hear about
changes to shortcuts on different user accounts. This was found out
due to bubble CTS not passing on HSUM.
ShortcutChangeCallback is user aware, so migrate to this. Also update
the keys used for shortcuts stored to be package|userId. Added some
tests around this.
Flag: EXEMPT bugfix
Test: atest ShortcutHelperTest NotificationManagerServiceTest CtsNotificationTestCases:NotificationManagerBubbleTest CtsNotificationTestCases:NotificationManagerTest
Test: ran the CTS tests on a secondary user account
Bug: 330507887
Change-Id: I610545fdcdff330d0ef625abd1a6ce0199e7bd08
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions