summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps/AllAppsContainerView.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-05-26 18:56:52 -0700
committerSunny Goyal <sunnygoyal@google.com>2015-05-27 17:50:35 -0700
commit58376925f9596c23f5c9ffa6c99630dfddcfce9c (patch)
tree5b6fe453a297c568648d48a0d1d15a73503ad2f6 /src/com/android/launcher3/allapps/AllAppsContainerView.java
parent5cc7af12f10c4bd97bd732305398c7ad6a7fa4ca (diff)
downloadandroid_packages_apps_Trebuchet-58376925f9596c23f5c9ffa6c99630dfddcfce9c.tar.gz
android_packages_apps_Trebuchet-58376925f9596c23f5c9ffa6c99630dfddcfce9c.tar.bz2
android_packages_apps_Trebuchet-58376925f9596c23f5c9ffa6c99630dfddcfce9c.zip
Fixing page background not displayed when dragging from all apps
> Adding empty page synchronously, instead of waiting for a frame > Changing launcher state from widgets screen in the same frame, similar to all apps > Removing DragEnforcer, and moving that logic in side the workspace, disabled by a flag > Using first page to get page bounds in drag layer, as last page may not have been measured Change-Id: I172ba4e5ce44648ac55402d49994542c6e10f101
Diffstat (limited to 'src/com/android/launcher3/allapps/AllAppsContainerView.java')
-rw-r--r--src/com/android/launcher3/allapps/AllAppsContainerView.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsContainerView.java b/src/com/android/launcher3/allapps/AllAppsContainerView.java
index 60f9ab347..d81f97f24 100644
--- a/src/com/android/launcher3/allapps/AllAppsContainerView.java
+++ b/src/com/android/launcher3/allapps/AllAppsContainerView.java
@@ -447,7 +447,6 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
@Override
protected void onFixedBoundsUpdated() {
// Update the number of items in the grid
- LauncherAppState app = LauncherAppState.getInstance();
DeviceProfile grid = mLauncher.getDeviceProfile();
if (grid.updateAppsViewNumCols(getContext().getResources(), mFixedBounds.width())) {
mNumAppsPerRow = grid.allAppsNumCols;