summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Roy Chou <juchengchou@google.com> 2024-05-09 06:16:59 +0000
committer Roy Chou <juchengchou@google.com> 2024-05-11 03:58:37 +0000
commit8364f441f808d4847360ee7173d77a446db109dc (patch)
tree4d46b07e5ebe7a09ce7d768b5b1660ae19f93306 /libs/androidfw/StringPool.cpp
parentd6aede92b5bdda0ba3302be0eb180116a656023f (diff)
fix(magnification button): delay showing magnification button to prevent button from detecting the touch expectedly
When magnification mode switch button is hiding, finger down event at the button area will first trigger MagnificationController#onUserInteractionStart to show the button, then the down event will be detected by the button too. This causes tapping on the hiding button area will show both the button and the settings panel. Therefore, when MagnificationController calls the systemui to show the button, we delay the showButton at systemui side, so the button will not show immediately then detects the touch event unexpectedly. Bug: 338259519 Flag: ACONFIG com.android.systemui.delay_show_magnification_button DEVELOPMENT Test: manually flip the flag atest IMagnificationConnectionTest Change-Id: I7852633914ab93126efc92199a904ef784d775af
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions