Merge "Revert "[Live tile] Finish recents animation when the phone goes to sleep in live tile mode"" into sc-dev

This commit is contained in:
Tracy Zhou
2021-03-19 04:28:13 +00:00
committed by Android (Google) Code Review
@@ -614,9 +614,6 @@ public abstract class RecentsView<T extends StatefulActivity> extends PagedView
@Override
protected void onWindowVisibilityChanged(int visibility) {
super.onWindowVisibilityChanged(visibility);
if (visibility != VISIBLE && LIVE_TILE.get()) {
finishRecentsAnimation(true /* toRecents */, null);
}
updateTaskStackListenerState();
}