summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AppsCustomizePagedView.java
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2013-08-27 15:42:35 +0200
committerMichael Jurka <mikejurka@google.com>2013-08-28 15:06:31 +0200
commit414300a79d140f8c2c8760d9adab750f69ffeafd (patch)
treed2fabfc1e29d66d23ba273f768504819895f48a2 /src/com/android/launcher3/AppsCustomizePagedView.java
parent9e6a0a20d40675ef98c7fdb8892cf34b90152f7a (diff)
downloadandroid_packages_apps_Trebuchet-414300a79d140f8c2c8760d9adab750f69ffeafd.tar.gz
android_packages_apps_Trebuchet-414300a79d140f8c2c8760d9adab750f69ffeafd.tar.bz2
android_packages_apps_Trebuchet-414300a79d140f8c2c8760d9adab750f69ffeafd.zip
Clean up unused code
Change-Id: Ie1e927aa0b5304f62cfffaab449abb3133870f80
Diffstat (limited to 'src/com/android/launcher3/AppsCustomizePagedView.java')
-rw-r--r--src/com/android/launcher3/AppsCustomizePagedView.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/com/android/launcher3/AppsCustomizePagedView.java b/src/com/android/launcher3/AppsCustomizePagedView.java
index 899b1f224..09a57120a 100644
--- a/src/com/android/launcher3/AppsCustomizePagedView.java
+++ b/src/com/android/launcher3/AppsCustomizePagedView.java
@@ -355,9 +355,6 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
mWidgetPreviewLoader = new WidgetPreviewLoader(mLauncher);
}
- // Note that we transpose the counts in portrait so that we get a similar layout
- boolean isLandscape = getResources().getConfiguration().orientation ==
- Configuration.ORIENTATION_LANDSCAPE;
int maxCellCountX = Integer.MAX_VALUE;
int maxCellCountY = Integer.MAX_VALUE;
if (mMaxAppCellCountX > -1) {