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

Skip to content
Commit b2eedb98 authored by Darrell Shi's avatar Darrell Shi Committed by William Xiao
Browse files

Move widget view creation from ViewModel to Compose

The current flow of the communal hub creates an AppWidgetHostView each
time the widget flow is updated. This view creation logic should live
inside the AndroidView Composable, and only called once on factory.

This change also replaces the CommunalContentUiModel with
CommunalContentModel, which lives in the domain layer.

Test: atest CommunalInteractorTest
Bug: 308148193
Flag: ACONFIG com.android.systemui.communal_hub DEVELOPMENT

Change-Id: I3216a70c82973d75de79247605985a9cc0262c8b
parent 0fc48a2a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment