summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/InvariantDeviceProfile.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-02-22 10:07:32 -0800
committerSunny Goyal <sunnygoyal@google.com>2018-02-22 10:21:41 -0800
commitd70e75a514f62628ee59d4eb53160bbf2d1743fe (patch)
tree2f8a97f52301676ca3c23cd30367729349992e21 /src/com/android/launcher3/InvariantDeviceProfile.java
parent668dd40a984a66ae505878f711da4b34bca74b89 (diff)
downloadandroid_packages_apps_Trebuchet-d70e75a514f62628ee59d4eb53160bbf2d1743fe.tar.gz
android_packages_apps_Trebuchet-d70e75a514f62628ee59d4eb53160bbf2d1743fe.tar.bz2
android_packages_apps_Trebuchet-d70e75a514f62628ee59d4eb53160bbf2d1743fe.zip
Removing launcher dependency when logging quickstep interaction
as Launcher may not be ready when the touch gesture completes. Change-Id: Ia69eb7bfb0340f7b7ce9b6c67be8851e5429f867
Diffstat (limited to 'src/com/android/launcher3/InvariantDeviceProfile.java')
-rw-r--r--src/com/android/launcher3/InvariantDeviceProfile.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/InvariantDeviceProfile.java b/src/com/android/launcher3/InvariantDeviceProfile.java
index 246fa74b9..e4609119f 100644
--- a/src/com/android/launcher3/InvariantDeviceProfile.java
+++ b/src/com/android/launcher3/InvariantDeviceProfile.java
@@ -162,9 +162,9 @@ public class InvariantDeviceProfile {
int largeSide = Math.max(realSize.x, realSize.y);
landscapeProfile = new DeviceProfile(context, this, smallestSize, largestSize,
- largeSide, smallSide, true /* isLandscape */);
+ largeSide, smallSide, true /* isLandscape */, false /* isMultiWindowMode */);
portraitProfile = new DeviceProfile(context, this, smallestSize, largestSize,
- smallSide, largeSide, false /* isLandscape */);
+ smallSide, largeSide, false /* isLandscape */, false /* isMultiWindowMode */);
// We need to ensure that there is enough extra space in the wallpaper
// for the intended parallax effects