summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2021-07-09 11:48:12 -0700
committerWinson Chung <winsonc@google.com>2021-07-16 22:17:56 +0000
commitc4f76dd5231a00253381d32144bae759a2b9c512 (patch)
treecebb5137e486e2e14de77d1bb0ec32e94da7722c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentcd40c7406f98f8e37af3051428bd2b036cf53e56 (diff)
Account for recents animation when reporting client visibility
- While the current app is still resumed and running in overview, the start of a new activity will trigger the current app to pause and be added to the stopping list while the new app is passed to the existing recents animation via onTaskAppeared() callback. We don't actually process the stopping activities until the recents animation is done, but pausing will trigger the report client visibility to the app if the animation is complete (which triggers the SurfaceView to destroy the surface). This check needs to also account for the recents animation that is driving the launching app as well. Fixes: 184211875 Test: Open an app with a SurfaceView in overview and then launch the next app (repeat until you see a blank area where the SV is) Change-Id: I35d1947795f529b701af22586b23441d5ac55313 Merged-In: I35d1947795f529b701af22586b23441d5ac55313
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions