diff options
author | Ben Lin <linben@google.com> | 2020-05-15 15:01:07 -0700 |
---|---|---|
committer | Ben Lin <linben@google.com> | 2020-05-15 22:13:09 +0000 |
commit | 13e125be685d8ea59a351cec8d95a2f8a44b24b1 (patch) | |
tree | 881da6139047721a57b90ebbf99be22f64e12088 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 0a1a911a5e2162f8d083508da0fd029cc40880c1 (diff) |
When entering PIP with multi-activity, re-use mLastNonFullscreenBounds.
In freeform support, we use mLastNonFullScreenBounds to keep track of
the task's bounds in freeform. Such that when maximizing/entering PIP, it
can restore to this bound after un-maximize/exiting PIP.
However when creating a new stack (in the case of multiple-activity in
the task, such as VLC), this information gets lost. We will reuse the
current task's lastNonfullscreenBounds.
Bug: 156780576
Test: In freeform, enter PIP using Multi-activity PIP (e.g. VLC), expand
PIP, the PIP activity is using the same bounds as before
Change-Id: Ic633fd1704c6e909fef0c2bd2dfe4bd9e2ca53ae
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions