summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/compat/PackageInstallerCompatVL.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-11-24 11:40:40 -0800
committerSunny Goyal <sunnygoyal@google.com>2015-11-24 12:06:42 -0800
commit7bce5f7988d63e6f64db4b8482f781cc63820246 (patch)
tree2dc52bb4d38c59afa2319dea74fb745bd6c95d0a /src/com/android/launcher3/compat/PackageInstallerCompatVL.java
parent4ee66259eb7835bfcf3747596e068319e1e3c677 (diff)
downloadandroid_packages_apps_Trebuchet-7bce5f7988d63e6f64db4b8482f781cc63820246.tar.gz
android_packages_apps_Trebuchet-7bce5f7988d63e6f64db4b8482f781cc63820246.tar.bz2
android_packages_apps_Trebuchet-7bce5f7988d63e6f64db4b8482f781cc63820246.zip
Tying LauncherAppState lifecycle with LauncherProvider
The content provider is the first component started with the main process, which makes it ideal for initiating LauncherAppState Change-Id: I03db82a8949ad1376af53a0033592f421dbf0b15
Diffstat (limited to 'src/com/android/launcher3/compat/PackageInstallerCompatVL.java')
-rw-r--r--src/com/android/launcher3/compat/PackageInstallerCompatVL.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/launcher3/compat/PackageInstallerCompatVL.java b/src/com/android/launcher3/compat/PackageInstallerCompatVL.java
index 6424e0379..4aa667ed0 100644
--- a/src/com/android/launcher3/compat/PackageInstallerCompatVL.java
+++ b/src/com/android/launcher3/compat/PackageInstallerCompatVL.java
@@ -43,7 +43,6 @@ public class PackageInstallerCompatVL extends PackageInstallerCompat {
PackageInstallerCompatVL(Context context) {
mInstaller = context.getPackageManager().getPackageInstaller();
- LauncherAppState.setApplicationContext(context.getApplicationContext());
mCache = LauncherAppState.getInstance().getIconCache();
mWorker = new Handler(LauncherModel.getWorkerLooper());