summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorBen Lin <linben@google.com>2020-08-04 11:20:44 -0700
committerBen Lin <linben@google.com>2020-08-04 18:37:36 +0000
commit1ced33a41cff0bd9d09a469bb8c9b42a79d566f0 (patch)
treec24c52ec8f9f1034c2e2754e361debb4d91b7680 /rs/java/android/renderscript/ProgramStore.java
parent58bc5a73e148c846a1839f7bd798049c012f48a6 (diff)
Pass current PIP bounds to #updateReentryBounds.
When PIP exits, we attempt to save the current bounds so we know what bounds to be used on PIP re-entry. This uses PipTaskOrganizer#getLastReportedBounds, but this is not accessed in a synchornized banner; it is possible that by the time it is accessed, it is changed by something else (for example, PIP Animation). At the time of #onPipTransitionStarted, just save the current PIP bounds and pass it down. Bug: 160721096 Test: Multiple re-entry of PIP result in the same bounds Change-Id: I27a1ad3a2257333c9afedf13520f44406d07cd68
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions