summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Material.java
diff options
context:
space:
mode:
authorBen Lin <linben@google.com>2020-07-30 15:59:06 -0700
committerBen Lin <linben@google.com>2020-07-31 17:01:54 -0700
commitb0fe48ac84d3b15de77b72849e7f67011246099e (patch)
tree3c5c3687a6905682f48d3e4d98aaf07e288ee393 /opengl/java/android/opengl/Material.java
parentd5bb2767e8a782a451790d16e87518006614814a (diff)
Restore PIP to non-fullscreen bounds if it was non-fullscreen.
For the situation where we make a new stack and reparent the PIP activity, the new stack and its task's windowConfiguration is by default fullscreen. When PipTaskOrganizer#onTaskAppear gets called, we save the configuration bounds, which is still fullscreen, and then restore to that. Instead if we set the bounds of the new stack to the bounds of the original task, then PipTaskOrganizer would get the correct configuration when its #onTaskAppeared method is called. Bug: 162544217 Test: Open Amazon Prime Video in freeform, play a video, enter PIP, expand PIP - back to non-fullscreen bounds Change-Id: I2344f618e805b2362999f476c34d8a0be62ad561
Diffstat (limited to 'opengl/java/android/opengl/Material.java')
0 files changed, 0 insertions, 0 deletions