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

Skip to content
Commit 112fb0cd authored by Coco Duan's avatar Coco Duan
Browse files

Support widgets under work profile on glanceable hub

Parse user profile from the intent of adding a new widget from the
widget picker.
Pass the user profile when binding a new widget and call the right
API for `appWidgetManager#bindAppWidgetIdIfAllowed`, in order to
associate the user profile with the new widget.
Moved dagger @provides related to communal widget host outside the
repository module/dir into a new module.

Bug: b/324465218
Test: atest CommunalWidgetHostTest
Test: atest CommunalWidgetRepositoryImplTest
Flag: ACONFIG com.android.systemui.communal_hub STAGING
Change-Id: I9563e43db68c063518469690d7c09814c13b92a3
parent abe8694d
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