diff options
| author | 2022-05-02 20:48:51 +0000 | |
|---|---|---|
| committer | 2022-05-16 18:36:49 +0000 | |
| commit | 08a4570f3295e5f0895cf950bacf6d656417dc5d (patch) | |
| tree | 674dd076c13a92088a23daf4a08698803882b827 /libs/androidfw/StringPool.cpp | |
| parent | 96ad5ccad955dc5fc852d9cd2af9c1cfd4053bbf (diff) | |
When a user is removed make sure we remove their persisted bubbles
- Update the NotificationLockscreenUserManager code to listen for
account removals and notify the new listener method onUserRemoved
- Use this to trigger removals in the bubble data repository / UI
Some users may have a parent user (e.g. work profile can belong to
a parent user). We store persisted bubbles under the parent user and
have a separate field for the specific bubble user. To support this,
I pass the parent of the removed user.
Test: atest BubbleVolatileRepositoryTest BubbleDataTest
Bug: 218525763
Change-Id: Ia147cbac15ebce70bbbcc52926089f33901a99dc
Merged-In: Ia147cbac15ebce70bbbcc52926089f33901a99dc
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions