Moving Workspace states into a separate file
Bug: 67678570
Change-Id: I5c63b4df29ca0f58a0223fb1919abc132576a1b6
diff --git a/src/com/android/launcher3/PinchThresholdManager.java b/src/com/android/launcher3/PinchThresholdManager.java
index 52aac17..8cbc33d 100644
--- a/src/com/android/launcher3/PinchThresholdManager.java
+++ b/src/com/android/launcher3/PinchThresholdManager.java
@@ -68,10 +68,10 @@
}
if (mPassedThreshold != previousPassedThreshold) {
- Workspace.State fromState = mWorkspace.isInOverviewMode() ? Workspace.State.OVERVIEW
- : Workspace.State.NORMAL;
- Workspace.State toState = mWorkspace.isInOverviewMode() ? Workspace.State.NORMAL
- : Workspace.State.OVERVIEW;
+ LauncherState fromState = mWorkspace.isInOverviewMode() ? LauncherState.OVERVIEW
+ : LauncherState.NORMAL;
+ LauncherState toState = mWorkspace.isInOverviewMode() ? LauncherState.NORMAL
+ : LauncherState.OVERVIEW;
float thresholdToAnimate = mPassedThreshold;
if (mPassedThreshold < previousPassedThreshold) {
// User reversed pinch, so heading back to the state that they started from.