summaryrefslogtreecommitdiffstats
path: root/go
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-05-13 18:31:22 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-05-13 18:31:22 +0000
commit0098e382fb0606d1808c49f68b87bb48905f8833 (patch)
tree01751787d815d50e6b28f5f8d6c192611474cfe7 /go
parent06892dcfab2a714e9406f93f89d11b76319b8492 (diff)
parent7a39b1bc5f544eaebb0e9887362fd96bdd99ca4d (diff)
downloadpackages_apps_Trebuchet-0098e382fb0606d1808c49f68b87bb48905f8833.tar.gz
packages_apps_Trebuchet-0098e382fb0606d1808c49f68b87bb48905f8833.tar.bz2
packages_apps_Trebuchet-0098e382fb0606d1808c49f68b87bb48905f8833.zip
Merge "Fixing insets mapping in 3-button and 2-button mode" into ub-launcher3-qt-dev
Diffstat (limited to 'go')
-rw-r--r--go/quickstep/src/com/android/launcher3/uioverrides/RecentsUiFactory.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/go/quickstep/src/com/android/launcher3/uioverrides/RecentsUiFactory.java b/go/quickstep/src/com/android/launcher3/uioverrides/RecentsUiFactory.java
index d9b968603..b5fefb46d 100644
--- a/go/quickstep/src/com/android/launcher3/uioverrides/RecentsUiFactory.java
+++ b/go/quickstep/src/com/android/launcher3/uioverrides/RecentsUiFactory.java
@@ -21,10 +21,12 @@ import static com.android.launcher3.LauncherAnimUtils.SCALE_PROPERTY;
import android.view.View;
+import com.android.launcher3.DeviceProfile;
import com.android.launcher3.Launcher;
import com.android.launcher3.LauncherStateManager.StateHandler;
import com.android.launcher3.Utilities;
import com.android.launcher3.config.FeatureFlags;
+import com.android.launcher3.graphics.RotationMode;
import com.android.launcher3.uioverrides.touchcontrollers.LandscapeEdgeSwipeController;
import com.android.launcher3.uioverrides.touchcontrollers.LandscapeStatesTouchController;
import com.android.launcher3.uioverrides.touchcontrollers.PortraitStatesTouchController;
@@ -102,4 +104,8 @@ public abstract class RecentsUiFactory {
* @param launcher the launcher activity
*/
public static void onLauncherStateOrResumeChanged(Launcher launcher) {}
+
+ public static RotationMode getRotationMode(DeviceProfile dp) {
+ return RotationMode.NORMAL;
+ }
}