Restore cursor visibility state after CRD disconnects
The core use case being addressed is the case where a user connects to a CrOS device in Kiosk mode which is used as signage (no user interaction). In this scenario, the mouse cursor becomes visible when we inject mouse input and remains visible after we disconnect. This change checks the cursor visibility prior to any input injection and then hides the cursor when the input injector is torn down. Bug: 1072886 Change-Id: I7e534ffbb3a078b0f90f5d79bdf2212fb2769f11 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2258780 Commit-Queue: Joe Downing <joedow@chromium.org> Commit-Queue: Jamie Walch <jamiewalch@chromium.org> Auto-Submit: Joe Downing <joedow@chromium.org> Reviewed-by:Jamie Walch <jamiewalch@chromium.org> Cr-Commit-Position: refs/heads/master@{#781399}
Showing
Please register or sign in to comment