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
Loading
Please register or sign in to comment