summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Alejandro Nijamkin <nijamkin@google.com> 2024-10-17 13:47:03 -0700
committer Alejandro Nijamkin <nijamkin@google.com> 2024-10-17 14:12:07 -0700
commit3e388b266f326928631818d4beab486186f36150 (patch)
treeeae07aa4c0529f0cbbf256ee7ff8d97e7dd40108 /libs/androidfw/ResourceTimer.cpp
parentb7e31cfbc15208952bc0d8a80bfedb0455272e9b (diff)
[flexiglass] Fixes long-press on emergency button.
Note: the long-press still doesn't do anything because the code in the BouncerActionButtonInteractor code path for long-press checks EmergencyAffordanceManager.needsEmergencyAffordance that returns false but I made sure that the long-press action _is_ triggered. As it turns out, adding a combinedClickable to a Material Button doesn't work because the Material Button already sets clickable on its Surface which prevents the touch from ever getting to the combinedClickable. Unfortunately, rolling my own simplified button was the only path forward. Fix: 369767936 Test: manually verified that a single click still opens the emergency call activity Test: manually verified that long-press triggers the right code path; even if it's not currently working (it also doesn't work in pre-flexiglass/legacy) Flag: com.android.systemui.scene_container Change-Id: I1e684ba2df012c0416b0f50723a82fbd9cb3b8f9
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions