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
Loading
Please register or sign in to comment