Fix regression in ending recents transition while locked

- Prior to ag/28807475 we would not finish the recents transition
  when ending to home while the device is locked, so we need to
  continue to skip that now.

Flag: EXEMPT bugfix
Bug: 361950809
Bug: 359608026
Test: Lock the device, open camera and swipe up
Change-Id: I66ba065ebd0084ecd51ea803e88e31bf8acbfdcb
This commit is contained in:
Winson Chung
2024-08-25 20:42:44 +00:00
parent ee87fb8940
commit 6d1dcc2b4e
@@ -277,7 +277,7 @@ public class DeviceLockedInputConsumer implements InputConsumer,
}
private void endRemoteAnimation() {
if (mRecentsAnimationController != null) {
if (!mHomeLaunched && mRecentsAnimationController != null) {
mRecentsAnimationController.finishController(
false /* toRecents */, null /* callback */, false /* sendUserLeaveHint */);
}