summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherAppState.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2014-10-21 18:30:20 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-10-21 18:30:20 +0000
commit1231c0743cce0b6b70951d1df3e4b0876c444598 (patch)
treedc7a3d946c5f4b6aff857995e026ed91d6688c10 /src/com/android/launcher3/LauncherAppState.java
parente75e7ab4fd6f38cb99382c3b16300fd0f2ef6307 (diff)
parent4390acea35aefae52bd3fe38f5fdbb7ea322afb0 (diff)
downloadandroid_packages_apps_Trebuchet-1231c0743cce0b6b70951d1df3e4b0876c444598.tar.gz
android_packages_apps_Trebuchet-1231c0743cce0b6b70951d1df3e4b0876c444598.tar.bz2
android_packages_apps_Trebuchet-1231c0743cce0b6b70951d1df3e4b0876c444598.zip
Merge "Updating ItemInfo objects in the worker thread" into ub-now-queens
Diffstat (limited to 'src/com/android/launcher3/LauncherAppState.java')
-rw-r--r--src/com/android/launcher3/LauncherAppState.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/launcher3/LauncherAppState.java b/src/com/android/launcher3/LauncherAppState.java
index 893d49fcc..03ab94bab 100644
--- a/src/com/android/launcher3/LauncherAppState.java
+++ b/src/com/android/launcher3/LauncherAppState.java
@@ -29,6 +29,7 @@ import android.os.Handler;
import android.util.Log;
import com.android.launcher3.compat.LauncherAppsCompat;
+import com.android.launcher3.compat.PackageInstallerCompat;
import com.android.launcher3.compat.PackageInstallerCompat.PackageInstallInfo;
import java.lang.ref.WeakReference;
@@ -134,6 +135,7 @@ public class LauncherAppState implements DeviceProfile.DeviceProfileCallbacks {
sContext.unregisterReceiver(mModel);
final LauncherAppsCompat launcherApps = LauncherAppsCompat.getInstance(sContext);
launcherApps.removeOnAppsChangedCallback(mModel);
+ PackageInstallerCompat.getInstance(sContext).onStop();
ContentResolver resolver = sContext.getContentResolver();
resolver.unregisterContentObserver(mFavoritesObserver);