diff options
| author | 2025-02-13 13:06:35 +0000 | |
|---|---|---|
| committer | 2025-02-13 19:35:51 +0000 | |
| commit | a29d1f5cdd2ff673a65898e8480944fdc0707dee (patch) | |
| tree | 17c97c95a4f142ea0101aa7a6c6cdc431a3b90f5 /libs/androidfw/misc.cpp | |
| parent | 658b0cad005f9e055f011b44674ed4ecf8bee6c1 (diff) | |
[Flexiglass] Reset the tracked HUN row at the end of the touch
AmbientState was leaking the last mTrackedHeadsUpRow, because it was
never resetted. This CL resets it when HeadsUpTouchHelper receives an
ACTION_CANCEL up ACTION_UP event.
TouchHelpers were not receiving any more motion events after the user
has started an interaction with the shade (NSSL#isShadeBeingDragged()).
This CL keeps dispatching motion events to NSSL's TouchHelpers even
when we need to dispatch them to the scene framework.
Bug: 391204020
Test: check if AmbientState#mTrackedHeadsUpRow is resetted after swipes
- receive a HUN
- touch it (snooze, swipe down to open shade, any swipe)
- finish the touch
- dumpsysui AmbientState
Flag: com.android.systemui.scene_container
Change-Id: I6cdf739b9f8914f7fdfc9d3da65e5080036b06e7
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions