Merge "Set occluded = false if occlude remote animation is cancelled." into tm-dev
This commit is contained in:
@@ -840,8 +840,9 @@ public class KeyguardViewMediator extends CoreStartable implements Dumpable,
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onLaunchAnimationCancelled() {
|
public void onLaunchAnimationCancelled() {
|
||||||
Log.d(TAG, "Occlude launch animation cancelled. "
|
setOccluded(true /* occluded */, false /* animate */);
|
||||||
+ "Occluded state is now: " + mOccluded);
|
Log.d(TAG, "Occlude launch animation cancelled. Occluded state is now: "
|
||||||
|
+ mOccluded);
|
||||||
}
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
@@ -904,6 +905,10 @@ public class KeyguardViewMediator extends CoreStartable implements Dumpable,
|
|||||||
if (mUnoccludeAnimator != null) {
|
if (mUnoccludeAnimator != null) {
|
||||||
mUnoccludeAnimator.cancel();
|
mUnoccludeAnimator.cancel();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setOccluded(false /* isOccluded */, false /* animate */);
|
||||||
|
Log.d(TAG, "Unocclude animation cancelled. Occluded state is now: "
|
||||||
|
+ mOccluded);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user