Skip to content
Commit f296aa6c authored by Bryce Lee's avatar Bryce Lee
Browse files

Allow in-progress touch sessions to continue outside resume.

Currently, touch sessions are terminated outside the resume lifecycle
state. This behavior causes issues when a touch behavior is directly
leading to another state, such as dragging down the notification shade.
This changelist allows in-progress touch sessions to continue until
the session is popped. Note that lifecycle states here are used
abstractly and do not correspond to Activity usage. Also, touch
sessions are still forcefully ended in the case of resetting the touch
monitor due to the destroy lifecycle state or from starting monitoring
again.

Test: atest DreamOverlayTouchMonitorTest#testPauseWithNoActiveSessions
      atest DreamOverlayTouchMonitorTest#testDeferredPauseWithActiveSessions
      atest DreamOverlayTouchMonitorTest#testDestroyWithActiveSessions
Bug: 267565290
Change-Id: Ibac6e94bcf6b8c4d751349edfbcb04b2fe53285a
Merged-In: Ibac6e94bcf6b8c4d751349edfbcb04b2fe53285a
parent 3d8957b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment