diff options
| author | 2024-05-16 13:53:15 -0400 | |
|---|---|---|
| committer | 2024-05-22 17:47:37 +0000 | |
| commit | 5a86d8be43b0268fa0d2276628471e11dccc2529 (patch) | |
| tree | a52d164654c5d78c642120048d5ffdeed8b90d7c /ravenwood/scripts/convert-androidtest.py | |
| parent | 402f8f20a4144f85f666f5bb8e3ab00423c27026 (diff) | |
Move global touch handling from SceneContainer to SceneWindowRootView
SceneContainer isn't the best place to forward touches to the
FalsingCollector and other code that needs to know about all touches --
it doesn't see all touches on NSSL, but it does see some touches that
NSSL explicitly chooses to forward, and some of those have a synthetic
ACTION_DOWN instead of their original ACTION_MOVE.
SceneWindowRootView, however, is a great place -- it sees every touch
before NSSL or SceneContainer gets a hand on them, and can thus call
FalsingCollector.onTouchEvent and .onMotionEventComplete before and
after all other touch handling.
Bug: 330492016
Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT
Test: manual: post many notifs and tap notif shelf on LS, generally monkey around on LS
Change-Id: Ifc2e2f9a2b65df96d012093112ea51ce34172845
Diffstat (limited to 'ravenwood/scripts/convert-androidtest.py')
0 files changed, 0 insertions, 0 deletions