Handle non-activity trampolines from widgets
If a widget triggers an activity through a broadcast or service, we
currently do not trigger auth. This change adds detection logic to
detect when an activity is started within 1 second of a widget
interaction, and prompts for auth.
Bug: 350468769
Test: atest WidgetTrampolineInteractorTest
Test: atest WidgetInteractionHandlerTest
Flag: com.android.systemui.communal_widget_trampoline_fix
Change-Id: Ib8436a17cf6d413fb59a8d6cc6081b2d9660a3d1
9 files changed