summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2014-08-05 22:36:25 (GMT)
committerRajesh Yengisetty <rajesh@cyngn.com>2014-08-06 21:03:55 (GMT)
commita8ffc714f2625f7287d42a7a5beca6adb75012c6 (patch)
tree44f303b775d786f732b18ddc352ed557751d4626
parent2ce97880ca19ee79f7bafec4c44fb1aa9dce7c9c (diff)
downloadandroid_packages_apps_Trebuchet-a8ffc714f2625f7287d42a7a5beca6adb75012c6.zip
android_packages_apps_Trebuchet-a8ffc714f2625f7287d42a7a5beca6adb75012c6.tar.gz
android_packages_apps_Trebuchet-a8ffc714f2625f7287d42a7a5beca6adb75012c6.tar.bz2
After getting an update to rebind items after getting updates for protected components, strip empty screens
Change-Id: Ic269e7c8c233b34c8cdf638f2c794bd0e5bf668a
-rw-r--r--src/com/android/launcher3/Launcher.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index fbb3189..8233429 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -4498,6 +4498,8 @@ public class Launcher extends Activity
mWorkspace.getUniqueComponents(true, null);
mIntentsOnWorkspaceFromUpgradePath = mWorkspace.getUniqueComponents(true, null);
}
+
+ mWorkspace.stripEmptyScreens();
}
private boolean canRunNewAppsAnimation() {