Merge changes from topic "RemoteAnimationCanceled_with_Occluded-tm-dev" into tm-dev am: 97641ffe50
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18976454 Change-Id: I418a0f4094c54a42fb4b705648e43bdbec505f63 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
@@ -3195,7 +3194,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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user