mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Fix window corner radius for predictive back to home on Felix
Bug: 316873212 Flag: ACONFIG com.android.window.flags.predictive_back_system_animations DISABLED Test: Manual, i.e. verifying on device that window corner radius matches the device corner radius during predictive back to home Change-Id: Ided0a09597b88a75e82dbd2ff94e7d7af5fadaa9
This commit is contained in:
@@ -1161,6 +1161,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
||||
SystemUiProxy.INSTANCE.get(mLauncher)
|
||||
.registerRemoteTransition(mLauncherOpenTransition, homeCheck);
|
||||
if (mBackAnimationController != null) {
|
||||
mBackAnimationController.registerComponentCallbacks();
|
||||
mBackAnimationController.registerBackCallbacks(mHandler);
|
||||
}
|
||||
}
|
||||
@@ -1168,6 +1169,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
||||
public void onActivityDestroyed() {
|
||||
unregisterRemoteAnimations();
|
||||
unregisterRemoteTransitions();
|
||||
mLauncher.removeOnDeviceProfileChangeListener(this);
|
||||
SystemUiProxy.INSTANCE.get(mLauncher).setStartingWindowListener(null);
|
||||
ORDERED_BG_EXECUTOR.execute(() -> mLauncher.getContentResolver()
|
||||
.unregisterContentObserver(mAnimationRemovalObserver));
|
||||
@@ -1200,6 +1202,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
||||
mWallpaperOpenTransitionRunner = null;
|
||||
if (mBackAnimationController != null) {
|
||||
mBackAnimationController.unregisterBackCallbacks();
|
||||
mBackAnimationController.unregisterComponentCallbacks();
|
||||
mBackAnimationController = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user