summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Lucas Silva <lusilva@google.com> 2024-01-04 23:59:15 -0500
committer Lucas Silva <lusilva@google.com> 2024-01-05 10:01:10 -0500
commit1b60409c254b05dabdf3aa010d5aee7cf50d3174 (patch)
tree51da12f97f25f7a97fdfcb295ef6f0443a12386d /libs/androidfw/StringPool.cpp
parentb8dad2fb07343854d86210b7399d384a2b9742b2 (diff)
Correctly handle activity starts from widgets in glanceable hub
Currently, widgets use the default starter logic which will just trigger the activity underneath the keyguard if it is locked. This change sets a custom interaction handler for widgets, which allows us to customize how the intent is handled. This ensures we trigger the bouncer if auth is required for the activity to launch. This change intentionally doesn't tackle activity launch animations, filed a follow-up bug to handle this. Fixes: 317402992 Test: atest CommunalEditModeViewModelTest Test: flashed device with changes and verified tapping stopwatch and weather widgets correctly trigger the bouncer. Tapping widget which launches a showWhenLocked activity does not trigger the bouncer. Flag: ACONFIG com.android.systemui.communal_hub DEVELOPMENT Change-Id: I3a9a2d57589088e356d46182f04f846cb19b346d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions