diff options
author | 2024-02-15 21:44:01 +0000 | |
---|---|---|
committer | 2024-02-22 22:59:26 +0000 | |
commit | 435eff7f666c54242d7f3b2b3813c4988c5ff4f4 (patch) | |
tree | 860a789be13d52b06e6d92a3bc8ab2453b2ee35c /libs/hwui/DeviceInfo.cpp | |
parent | ad18e2f33b7c0d8f2b4e9dfdd04ceec6fbba5f98 (diff) |
Remove associated widgets after work profile is removed
- Filter communalInteractor.widgetContent by profile id to ensure
always returning valid widgets associated with existing users.
- In CommunalAppWidgetHostStartable, when communal is showing, delete
any orphaned widget stored in db associated with deleted user profile.
Bug: b/324465218
Test: remove work profile and verify work widgets removed from GH
Test: atest CommunalAppWidgetHostCoreStartableTest
Test: atest CommunalInteractorTest
Flag: ACONFIG com.android.systemui.communal_hub STAGING
Change-Id: Ifbc0e9e384103a3cb5062860d633965297d308e5
Diffstat (limited to 'libs/hwui/DeviceInfo.cpp')
0 files changed, 0 insertions, 0 deletions