Merge changes from topic "RemoteAnimationCanceled_with_Occluded-tm-dev" into tm-dev am: 97641ffe50 am: 574cd4ca97 am: a50de3ed81

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18976454

Change-Id: Ibd347c046843b5651d77169fcb618f42011bfd21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Issei Suzuki
2022-06-29 19:29:11 +00:00
committed by Automerger Merge Worker

View File

@@ -843,7 +843,6 @@ public class KeyguardViewMediator extends CoreStartable implements Dumpable,
@Override @Override
public void onLaunchAnimationCancelled() { public void onLaunchAnimationCancelled() {
setOccluded(true /* occluded */, false /* animate */);
Log.d(TAG, "Occlude launch animation cancelled. Occluded state is now: " Log.d(TAG, "Occlude launch animation cancelled. Occluded state is now: "
+ mOccluded); + mOccluded);
} }
@@ -916,7 +915,7 @@ public class KeyguardViewMediator extends CoreStartable implements Dumpable,
mUnoccludeAnimator.cancel(); mUnoccludeAnimator.cancel();
} }
setOccluded(isKeyguardOccluded, false /* animate */); setOccluded(isKeyguardOccluded /* isOccluded */, false /* animate */);
Log.d(TAG, "Unocclude animation cancelled. Occluded state is now: " Log.d(TAG, "Unocclude animation cancelled. Occluded state is now: "
+ mOccluded); + mOccluded);
} }
@@ -3220,7 +3219,10 @@ public class KeyguardViewMediator extends CoreStartable implements Dumpable,
@Override @Override
public void onAnimationCancelled(boolean isKeyguardOccluded) throws RemoteException { public void onAnimationCancelled(boolean isKeyguardOccluded) throws RemoteException {
super.onAnimationCancelled(isKeyguardOccluded); super.onAnimationCancelled(isKeyguardOccluded);
Log.d(TAG, "Occlude launch animation cancelled. Occluded state is now: " + mOccluded); setOccluded(isKeyguardOccluded /* occluded */, false /* animate */);
Log.d(TAG, "Occlude animation cancelled by WM. "
+ "Setting occluded state to: " + mOccluded);
} }
} }
} }