diff options
author | Hongwei Wang <hwwang@google.com> | 2021-01-08 16:03:17 -0800 |
---|---|---|
committer | Hongwei Wang <hwwang@google.com> | 2021-01-11 10:19:54 -0800 |
commit | fa10d0a3da937ecaebdba7382662a2f4c1e82622 (patch) | |
tree | 5760108ebfb9aeb4a68a5d1159f00df2387292f3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 9f053e5fb849bbca6f960f03f463fb2d29f9f6c7 (diff) |
Skip sending TaskInfo change while not in pip
When recents animation finishes, it eventually triggers
ActivityRecord.setPictureInPictureParams if the Activity is pip-able.
And in the autoEnterPip case, this happens before the windowing mode
being flipped to PINNED and therefore callbacks the
FullscreenTaskListener and resets the leash to (0, 0).
Since it does not make sense dispatching TaskInfo change
while not in pinned mode, we simply skip it here.
Video: http://rcll/aaaaaabFQoRHlzixHdtY/eFlluOg7dAqjzsS6G8UYoX
Bug: 177073398
Test: see video
Change-Id: I782f94a1b5fe19973f21e1694b8d688575f1b7e8
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions