15/ Move some more logic into gesture/device state
- Bake overview/home component into the gesture state (it should never change mid-gesture), this allows us to remove OverviewComponentObserver refs from the handlers - Move nav bar position into DeviceState - Remove passing RecentsModel into the handlers, it already partially references it statically Bug: 141886704 Change-Id: I62f9138651cbe1fb984b57b96e4212ebaa1ffb5d
This commit is contained in:
@@ -48,11 +48,10 @@ public class RecentsAnimationController {
|
||||
private final Consumer<RecentsAnimationController> mOnFinishedListener;
|
||||
private final boolean mShouldMinimizeSplitScreen;
|
||||
|
||||
private boolean mWindowThresholdCrossed = false;
|
||||
|
||||
private InputConsumerController mInputConsumerController;
|
||||
private Supplier<InputConsumer> mInputProxySupplier;
|
||||
private InputConsumer mInputConsumer;
|
||||
private boolean mWindowThresholdCrossed = false;
|
||||
private boolean mTouchInProgress;
|
||||
private boolean mFinishPending;
|
||||
|
||||
@@ -62,8 +61,6 @@ public class RecentsAnimationController {
|
||||
mController = controller;
|
||||
mOnFinishedListener = onFinishedListener;
|
||||
mShouldMinimizeSplitScreen = shouldMinimizeSplitScreen;
|
||||
|
||||
setWindowThresholdCrossed(mWindowThresholdCrossed);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user