Fix memory leak in TaskbarLauncherStateController
mIconAlphaForHome.setConsumer(null) in onDestroy() Test: Run BinderTests#testSwitchToOverview locally Bug: 206633573 Change-Id: I912cd66097b113ee84197f23a5862e333d7e63f2
This commit is contained in:
parent
d8a1b5c366
commit
1fdea66f16
|
@ -115,6 +115,7 @@ import java.util.function.Supplier;
|
|||
mIconAlignmentForGestureState.finishAnimation();
|
||||
mIconAlignmentForLauncherState.finishAnimation();
|
||||
|
||||
mIconAlphaForHome.setConsumer(null);
|
||||
mLauncher.getHotseat().setIconsAlpha(1f);
|
||||
mLauncher.getStateManager().removeStateListener(mStateListener);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue