summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2022-01-18 19:57:52 -0800
committer Rob Carr <racarr@google.com> 2022-01-26 19:51:26 +0000
commitb41528c5b3c24963e9608763d1bee8de18c07168 (patch)
treeb8b91fe9851f890f37fb47241437c4f7edf0f400 /api/api.go
parent501ee91b957eab6feb05832168573f51573efced (diff)
WM/SurfacePackage: Forward insets to WindowContainer overlays
We add support for forwarding InsetsState over SurfacePackage to reach embedded ViewRootImpl. As a next step we hook up forwarding of insets from the main visible window of a task with overlays, to said overlays. We provide a frame so that the remote ViewRootImpl can interpret the insets relative to this frame. In the TaskOverlay case everything in the remote SurfaceControlViewHost is in a world relative to the task bounds, and so we send the task bounds. Transient insets are also forwarded via this channel. This is due to the specific requirements of game service overlay, but seems to make sense in general for overlays, who will need to be able to intelligently handle immersive mode. Bug: 213603716 Bug: 214239892 Test: SurfaceControlWindowInsetsTest Change-Id: I22e22050a5dec71d8120ef4fea4a1c9bc452e02f
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions