Skip to content
Commit 3d60f471 authored by Mark Renouf's avatar Mark Renouf
Browse files

Ensure cleanup when interrupting scroll capture

A batch of related cleanups and fixes:

 * Connects cancellation signals between the layers of scroll capture.

 * Handles cancellation on dismissal, ensuring clean shutdown of session.

 * Ensures any pending operation is cancelled on the client side and the
   connection is closed.

 * App side of connection handles a crash of SystemUI, ensure close()

 * ScrollCaptureController:
   Moves onCaptureResult to a background thread; it calls into binder.

 * Fixes accuracy and category of some log messages about dismissal
   gesture.

Test: atest ScrollCaptureConnectionTest ScrollCaptureControllerTest
Change-Id: I20014a4cb43e28fcb97f6980fb47af8c06deaca2
parent 54fef7af
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