[Remoting Android] Allow panning canvas out of the cutout area
Currently the Android app doesn't adjust the desktop canvas for cutouts on a notched device, so part of the desktop will get obstructed by the cutout. This CL fixes this by introducing a concept of safe area to DesktopCanvas. User can still see through and interact with the content in the unsafe area and pan the canvas out of it, while we use the safe area to calculate the minimum zoom level. Bug: 831670 Change-Id: I6a42bab8f383fa682bd2d2363b41bc6bb7a6d1c3 Reviewed-on: https://chromium-review.googlesource.com/1174982Reviewed-by:Joe Downing <joedow@chromium.org> Commit-Queue: Yuwei Huang <yuweih@chromium.org> Cr-Commit-Position: refs/heads/master@{#584535}
Showing
Please register or sign in to comment