summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/InvariantDeviceProfile.java
diff options
context:
space:
mode:
authorTony Wickham <twickham@google.com>2015-09-29 15:15:53 -0700
committerTony Wickham <twickham@google.com>2015-09-29 15:19:32 -0700
commit58ecbe40f6e95d53b74adeeea3fd83a32cea4f38 (patch)
tree596ec8fd2b9e2d308efde6477c4d07202ba4b75f /src/com/android/launcher3/InvariantDeviceProfile.java
parentc088049113c261331b5685e64050d14a31cd72df (diff)
downloadandroid_packages_apps_Trebuchet-58ecbe40f6e95d53b74adeeea3fd83a32cea4f38.tar.gz
android_packages_apps_Trebuchet-58ecbe40f6e95d53b74adeeea3fd83a32cea4f38.tar.bz2
android_packages_apps_Trebuchet-58ecbe40f6e95d53b74adeeea3fd83a32cea4f38.zip
Flipped widths of Nexus 4 and Nexus 5 in InvariantDeviceProfile.
Without this change, Nexus 4 uses the Nexus 5 device profile and vice versa. But because the profiles have exactly the same values, it didn't matter that they were flopped. Change-Id: I3fd788e040feb8de5bb5f5e336acbd4ac995dc0f
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 ae204c40c..688130723 100644
--- a/src/com/android/launcher3/InvariantDeviceProfile.java
+++ b/src/com/android/launcher3/InvariantDeviceProfile.java
@@ -184,9 +184,9 @@ public class InvariantDeviceProfile {
predefinedDeviceProfiles.add(new InvariantDeviceProfile("Nexus S",
296, 491.33f, 4, 4, 4, 4, 4, 48, 13, 5, 48, R.xml.default_workspace_4x4));
predefinedDeviceProfiles.add(new InvariantDeviceProfile("Nexus 4",
- 335, 567, 4, 4, 4, 4, 4, DEFAULT_ICON_SIZE_DP, 13, 5, 56, R.xml.default_workspace_4x4));
- predefinedDeviceProfiles.add(new InvariantDeviceProfile("Nexus 5",
359, 567, 4, 4, 4, 4, 4, DEFAULT_ICON_SIZE_DP, 13, 5, 56, R.xml.default_workspace_4x4));
+ predefinedDeviceProfiles.add(new InvariantDeviceProfile("Nexus 5",
+ 335, 567, 4, 4, 4, 4, 4, DEFAULT_ICON_SIZE_DP, 13, 5, 56, R.xml.default_workspace_4x4));
predefinedDeviceProfiles.add(new InvariantDeviceProfile("Large Phone",
406, 694, 5, 5, 4, 4, 4, 64, 14.4f, 5, 56, R.xml.default_workspace_5x5));
// The tablet profile is odd in that the landscape orientation