Merge "Remove keyguard state from onAnimationCancelled" into udc-dev am: 52b4c77770
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22779727 Change-Id: I2bc69b9def524dfba69733935e40337d95dfe1e3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -120,7 +120,7 @@ public class LauncherAnimationRunner extends RemoteAnimationRunnerCompat {
|
|||||||
*/
|
*/
|
||||||
@BinderThread
|
@BinderThread
|
||||||
@Override
|
@Override
|
||||||
public void onAnimationCancelled(boolean isKeyguardOccluded) {
|
public void onAnimationCancelled() {
|
||||||
postAsyncCallback(mHandler, () -> {
|
postAsyncCallback(mHandler, () -> {
|
||||||
finishExistingAnimation();
|
finishExistingAnimation();
|
||||||
getFactory().onAnimationCancelled();
|
getFactory().onAnimationCancelled();
|
||||||
@@ -235,16 +235,12 @@ public class LauncherAnimationRunner extends RemoteAnimationRunnerCompat {
|
|||||||
RemoteAnimationTarget[] nonAppTargets,
|
RemoteAnimationTarget[] nonAppTargets,
|
||||||
LauncherAnimationRunner.AnimationResult result);
|
LauncherAnimationRunner.AnimationResult result);
|
||||||
|
|
||||||
@Override
|
|
||||||
@UiThread
|
|
||||||
default void onAnimationCancelled(boolean isKeyguardOccluded) {
|
|
||||||
onAnimationCancelled();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when the animation is cancelled. This can happen with or without
|
* Called when the animation is cancelled. This can happen with or without
|
||||||
* the create being called.
|
* the create being called.
|
||||||
*/
|
*/
|
||||||
default void onAnimationCancelled() { }
|
@Override
|
||||||
|
@UiThread
|
||||||
|
default void onAnimationCancelled() {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1841,8 +1841,8 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onAnimationCancelled(boolean isKeyguardOccluded) {
|
public void onAnimationCancelled() {
|
||||||
mDelegate.onAnimationCancelled(isKeyguardOccluded);
|
mDelegate.onAnimationCancelled();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -192,7 +192,7 @@ public class LauncherBackAnimationController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onAnimationCancelled(boolean isKeyguardOccluded) {}
|
public void onAnimationCancelled() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
SystemUiProxy.INSTANCE.get(mLauncher).setBackToLauncherCallback(mBackCallback, runner);
|
SystemUiProxy.INSTANCE.get(mLauncher).setBackToLauncherCallback(mBackCallback, runner);
|
||||||
|
|||||||
@@ -556,7 +556,7 @@ public class SplitSelectStateController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onAnimationCancelled(boolean isKeyguardOccluded) {
|
public void onAnimationCancelled() {
|
||||||
postAsyncCallback(mHandler, () -> {
|
postAsyncCallback(mHandler, () -> {
|
||||||
if (mSuccessCallback != null) {
|
if (mSuccessCallback != null) {
|
||||||
// Launching legacy tasks while recents animation is running will always cause
|
// Launching legacy tasks while recents animation is running will always cause
|
||||||
|
|||||||
Reference in New Issue
Block a user