summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-04-05 13:37:46 -0700
committerSunny Goyal <sunnygoyal@google.com>2018-04-06 11:29:32 -0700
commitd792a7723430cfc84d60af7d885bd51d2159df32 (patch)
tree95d12da9038f4f679e359ec9453e1941704973ad /src
parent80be805996c8d62804ea62a7d6b4bc695bc8c24e (diff)
downloadandroid_packages_apps_Trebuchet-d792a7723430cfc84d60af7d885bd51d2159df32.tar.gz
android_packages_apps_Trebuchet-d792a7723430cfc84d60af7d885bd51d2159df32.tar.bz2
android_packages_apps_Trebuchet-d792a7723430cfc84d60af7d885bd51d2159df32.zip
Updating the card size logic
In full screen always follow the device aspect ratio In multi-window, follow the 1:1 split window size Rotate the screen shot only in full-screen mode Bug: 70289009 Change-Id: Id5095565634d4d7920fefa929b28276db80bda5f
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher3/DeviceProfile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java
index 6f3575260..4deed73b6 100644
--- a/src/com/android/launcher3/DeviceProfile.java
+++ b/src/com/android/launcher3/DeviceProfile.java
@@ -41,7 +41,7 @@ public class DeviceProfile {
public final boolean transposeLayoutWithOrientation;
// Device properties in current orientation
- private final boolean isLandscape;
+ public final boolean isLandscape;
public final boolean isMultiWindowMode;
public final int widthPx;