diff options
author | Winson Chung <winsonc@google.com> | 2011-05-17 16:24:49 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-05-17 17:06:59 -0700 |
commit | 6a70e9fc3c62cc83d6abe59323d622dc6cd224a7 (patch) | |
tree | 1844176feea41b6180d2bf4858a31f2aef47f41b /src/com/android/launcher2/CustomizePagedView.java | |
parent | 2801cafe62653131fdc9da402e5c44e5ffd0bf47 (diff) | |
download | android_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/CustomizePagedView.java')
-rw-r--r-- | src/com/android/launcher2/CustomizePagedView.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/android/launcher2/CustomizePagedView.java b/src/com/android/launcher2/CustomizePagedView.java index e5bc8b8a5..b2e308d76 100644 --- a/src/com/android/launcher2/CustomizePagedView.java +++ b/src/com/android/launcher2/CustomizePagedView.java @@ -1042,8 +1042,7 @@ public class CustomizePagedView extends PagedViewWithDraggableItems final int x = index % mCellCountX; final int y = index / mCellCountX; setupPage(layout); - layout.addViewToCellLayout(icon, -1, i, new PagedViewCellLayout.LayoutParams(x,y, 1,1), - createHolographicOutlines); + layout.addViewToCellLayout(icon, -1, i, new PagedViewCellLayout.LayoutParams(x,y, 1,1)); } } @@ -1088,8 +1087,7 @@ public class CustomizePagedView extends PagedViewWithDraggableItems final int x = index % mCellCountX; final int y = index / mCellCountX; setupPage(layout); - layout.addViewToCellLayout(icon, -1, i, new PagedViewCellLayout.LayoutParams(x,y, 1,1), - createHolographicOutlines); + layout.addViewToCellLayout(icon, -1, i, new PagedViewCellLayout.LayoutParams(x,y, 1,1)); } } |