diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-11-24 11:40:40 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2015-11-24 12:06:42 -0800 |
commit | 7bce5f7988d63e6f64db4b8482f781cc63820246 (patch) | |
tree | 2dc52bb4d38c59afa2319dea74fb745bd6c95d0a /src/com/android/launcher3/compat | |
parent | 4ee66259eb7835bfcf3747596e068319e1e3c677 (diff) | |
download | android_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')
-rw-r--r-- | src/com/android/launcher3/compat/PackageInstallerCompatVL.java | 1 |
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()); |