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

Skip to content
Commit 435eff7f authored by Coco Duan's avatar Coco Duan
Browse files

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
parent ad18e2f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment