Fixing some activity leaks

Bug: 139137636
Change-Id: I36055ac278879314d0afe6acf080f0082990113f
This commit is contained in:
vadimt
2020-02-10 11:25:35 -08:00
parent 9f3cf1aa07
commit b545b68b3c
2 changed files with 2 additions and 0 deletions
@@ -234,6 +234,7 @@ public final class LauncherActivityInterface implements BaseActivityInterface<La
public void adjustActivityControllerInterpolators() {
if (mAdjustInterpolatorsRunnable != null) {
mAdjustInterpolatorsRunnable.run();
mAdjustInterpolatorsRunnable = null;
}
}
@@ -201,6 +201,7 @@ public class RecentsAnimationController {
if (mInputConsumerController != null) {
mInputConsumerController.setInputListener(null);
}
mInputProxySupplier = null;
}
private boolean onInputConsumerEvent(InputEvent ev) {