summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Issei Suzuki <issei@google.com> 2022-06-29 19:22:59 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-06-29 19:22:59 +0000
commitc65aaa27a915d12a0445569fecd0d67e6055798d (patch)
tree8714a468a155748b2d1a7474dd78ccfcbd8a45b9
parent517ee9b4077fe5fd4255a920c7b7d2a9e465409e (diff)
parent574cd4ca9765a1f4798f7dd6d3fe730a145181ff (diff)
Merge changes from topic "RemoteAnimationCanceled_with_Occluded-tm-dev" into tm-dev am: 97641ffe50 am: 574cd4ca97
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18976454 Change-Id: I8033ca610c21e1e8dfed626df0307d0355b8fa5a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
index 8e3113eb1999..d2e5506f0b6b 100644
--- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
+++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
@@ -842,7 +842,6 @@ public class KeyguardViewMediator extends CoreStartable implements Dumpable,
@Override
public void onLaunchAnimationCancelled() {
- setOccluded(true /* occluded */, false /* animate */);
Log.d(TAG, "Occlude launch animation cancelled. Occluded state is now: "
+ mOccluded);
}
@@ -915,7 +914,7 @@ public class KeyguardViewMediator extends CoreStartable implements Dumpable,
mUnoccludeAnimator.cancel();
}
- setOccluded(isKeyguardOccluded, false /* animate */);
+ setOccluded(isKeyguardOccluded /* isOccluded */, false /* animate */);
Log.d(TAG, "Unocclude animation cancelled. Occluded state is now: "
+ mOccluded);
}
@@ -3205,7 +3204,10 @@ public class KeyguardViewMediator extends CoreStartable implements Dumpable,
@Override
public void onAnimationCancelled(boolean isKeyguardOccluded) throws RemoteException {
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);
}
}
}