summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/AppsCustomizePagedView.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-05-17 16:24:49 -0700
committerWinson Chung <winsonc@google.com>2011-05-17 17:06:59 -0700
commit6a70e9fc3c62cc83d6abe59323d622dc6cd224a7 (patch)
tree1844176feea41b6180d2bf4858a31f2aef47f41b /src/com/android/launcher2/AppsCustomizePagedView.java
parent2801cafe62653131fdc9da402e5c44e5ffd0bf47 (diff)
downloadandroid_packages_apps_Trebuchet-6a70e9fc3c62cc83d6abe59323d622dc6cd224a7.tar.gz
android_packages_apps_Trebuchet-6a70e9fc3c62cc83d6abe59323d622dc6cd224a7.tar.bz2
android_packages_apps_Trebuchet-6a70e9fc3c62cc83d6abe59323d622dc6cd224a7.zip
Fixing issue where holographic icons could get out of sync in AllApps (when number of pages changes).
Change-Id: I1a63d4837c5b726a90229430f5fc698aa1db5550
Diffstat (limited to 'src/com/android/launcher2/AppsCustomizePagedView.java')
-rw-r--r--src/com/android/launcher2/AppsCustomizePagedView.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/launcher2/AppsCustomizePagedView.java b/src/com/android/launcher2/AppsCustomizePagedView.java
index 14e051c64..87be63efa 100644
--- a/src/com/android/launcher2/AppsCustomizePagedView.java
+++ b/src/com/android/launcher2/AppsCustomizePagedView.java
@@ -561,8 +561,7 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
int index = i - startIndex;
int x = index % mCellCountX;
int y = index / mCellCountX;
- layout.addViewToCellLayout(icon, -1, i, new PagedViewCellLayout.LayoutParams(x,y, 1,1),
- isHardwareAccelerated() && (numPages > 1));
+ layout.addViewToCellLayout(icon, -1, i, new PagedViewCellLayout.LayoutParams(x,y, 1,1));
}
}
/*