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

Commit a57cf55f authored by Willie Koomson's avatar Willie Koomson
Browse files

Reland "Update Glanceable Hub's AppWidgetHostListener impl for widget events"

This change updates GlanceableHub's custom AppWidgetHostListener
implementation to add support for the new collectWidgetEvents method.
This enables event reporting for the hub's widgets.

This reland also adds calls to
AppWidgetHostView.start/stopVisibilityTracking to record visibility
durations of individual widgets.

Bug: 429228078
Test: Manual, use widgets on mobile hub and confirm that they are
 reported
Test: atest SystemUITests --test-filter="com.android.systemui.communal.widgets.*"
Flag: android.appwidget.flags.engagement_metrics
Change-Id: I8204c04582cb5e0e59a5375cd75f8e928cbe157e
parent 27743398
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