summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author William Xiao <wxyz@google.com> 2024-04-17 18:00:37 -0700
committer William Xiao <wxyz@google.com> 2024-04-23 15:45:23 -0700
commit86fa77ab95757a714031c425ea8bdc08c0324c9a (patch)
treeef5060052bc50f8bc81216c4c4049412a22f3d5e /libs/androidfw/StringPool.cpp
parentc84e0559a4060f17d9d1f7458ca4bb3a1d042c40 (diff)
Fix ShadeTouchHandler over the lock screen
Shade expansion while on the lock screen is handled by the NotificationShadeWindowViewController's DragDownHelper. In order for the ShadeTouchHandler to work when opening the shade from the hub over the lock screen, we need to simulate the full sequence of events for a touch, since NSWVC has logic in both the dispatch and intercept phases. This change also limits the ShadeTouchHandler to only accept downward swipes. Upward swipes were not an issue over the dream, but it causes some visual issues over the lock screen. Fixed: 328838259 Bug: 335505186 Test: atest ShadeTouchHandlerTest CommunalTouchHandlerTest NotificationShadeWindowViewControllerTest also verified manually, see bug for video Flag: ACONFIG com.android.systemui.communal_hub TEAMFOOD Change-Id: I92b9c220b52b0c0677712fcda6ace27dff143ffa
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions