diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2019-05-02 13:39:16 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2019-05-13 10:29:11 -0700 |
commit | 7a39b1bc5f544eaebb0e9887362fd96bdd99ca4d (patch) | |
tree | 256e52da5331009ae992aa6d6e3fa593442b3d4e /go/quickstep/src/com | |
parent | 952fdb3e7045aa6d3d29ddfb1753911a0c7c1e04 (diff) | |
download | android_packages_apps_Trebuchet-7a39b1bc5f544eaebb0e9887362fd96bdd99ca4d.tar.gz android_packages_apps_Trebuchet-7a39b1bc5f544eaebb0e9887362fd96bdd99ca4d.tar.bz2 android_packages_apps_Trebuchet-7a39b1bc5f544eaebb0e9887362fd96bdd99ca4d.zip |
Fixing insets mapping in 3-button and 2-button mode
Bug: 131360075
Change-Id: If6e3a4fbb011fc313efeb91686a9d787761862c5
Diffstat (limited to 'go/quickstep/src/com')
-rw-r--r-- | go/quickstep/src/com/android/launcher3/uioverrides/RecentsUiFactory.java | 6 |
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; + } } |