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
Loading
Please register or sign in to comment