Merge "Correctly disposing of LauncherUnlockAnimationController" into udc-dev am: 60ad6b5abb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22360314 Change-Id: I3897787b6d00b06dde8a0b0f62e049005290fe3b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -218,29 +218,15 @@ public class SystemUiProxy implements ISystemUiProxy {
|
||||
mUnfoldAnimation = unfoldAnimation;
|
||||
linkToDeath();
|
||||
// re-attach the listeners once missing due to setProxy has not been initialized yet.
|
||||
if (mPipAnimationListener != null && mPip != null) {
|
||||
setPipAnimationListener(mPipAnimationListener);
|
||||
}
|
||||
if (mSplitScreenListener != null && mSplitScreen != null) {
|
||||
registerSplitScreenListener(mSplitScreenListener);
|
||||
}
|
||||
if (mStartingWindowListener != null && mStartingWindow != null) {
|
||||
setStartingWindowListener(mStartingWindowListener);
|
||||
}
|
||||
if (mSysuiUnlockAnimationController != null && mLauncherUnlockAnimationController != null) {
|
||||
setLauncherUnlockAnimationController(mLauncherUnlockAnimationController);
|
||||
}
|
||||
setPipAnimationListener(mPipAnimationListener);
|
||||
registerSplitScreenListener(mSplitScreenListener);
|
||||
setStartingWindowListener(mStartingWindowListener);
|
||||
setLauncherUnlockAnimationController(mLauncherUnlockAnimationController);
|
||||
new LinkedHashMap<>(mRemoteTransitions).forEach(this::registerRemoteTransition);
|
||||
setupTransactionQueue();
|
||||
if (mRecentTasksListener != null && mRecentTasks != null) {
|
||||
registerRecentTasksListener(mRecentTasksListener);
|
||||
}
|
||||
if (mBackAnimation != null && mBackToLauncherCallback != null) {
|
||||
setBackToLauncherCallback(mBackToLauncherCallback, mBackToLauncherRunner);
|
||||
}
|
||||
if (unfoldAnimation != null && mUnfoldAnimationListener != null) {
|
||||
setUnfoldAnimationListener(mUnfoldAnimationListener);
|
||||
}
|
||||
registerRecentTasksListener(mRecentTasksListener);
|
||||
setBackToLauncherCallback(mBackToLauncherCallback, mBackToLauncherRunner);
|
||||
setUnfoldAnimationListener(mUnfoldAnimationListener);
|
||||
}
|
||||
|
||||
public void clearProxy() {
|
||||
|
||||
Reference in New Issue
Block a user