Loading
Revert^2 "Explicitly release all surfaces after transition completed"
This reverts commit 57e14c67. The original reason to revert was fixed in commit c152918c. Also skip InteractionJankMonitor if there are no animations to run. Otherwise it may throw exception for a released surface. Reason for revert: reland Bug: 407719374 Bug: 403036597 Bug: 300499147 Flag: com.android.window.flags.release_surface_on_transition_finish Test: Dump offscreen layer after removing Task from Recents adb shell dumpsys SurfaceFlinger | grep Offscreen -A50 Change-Id: I32dee21f90f72b9e9efe101af40c731d0141a5e9