diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2014-09-17 20:07:09 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-09-17 20:07:10 +0000 |
commit | 136882c1950da1e5f0a24a8b6807b186a3297d8e (patch) | |
tree | 943d414f87152ff935fe004f8e382b0b17c87246 /src/com/android/launcher3/compat/PackageInstallerCompatVL.java | |
parent | d8293fbf284a8375da7473660c2ffeddfc08189e (diff) | |
parent | 5610fe72e01ac752153f58a3c9e615fcb997df35 (diff) | |
download | android_packages_apps_Trebuchet-136882c1950da1e5f0a24a8b6807b186a3297d8e.tar.gz android_packages_apps_Trebuchet-136882c1950da1e5f0a24a8b6807b186a3297d8e.tar.bz2 android_packages_apps_Trebuchet-136882c1950da1e5f0a24a8b6807b186a3297d8e.zip |
Merge "Setting context in LauncherAppState before initialising it, as it can be called from a BroadcastReceiver" into ub-now-porkchop
Diffstat (limited to 'src/com/android/launcher3/compat/PackageInstallerCompatVL.java')
-rw-r--r-- | src/com/android/launcher3/compat/PackageInstallerCompatVL.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher3/compat/PackageInstallerCompatVL.java b/src/com/android/launcher3/compat/PackageInstallerCompatVL.java index 4ad10d870..2d56adf91 100644 --- a/src/com/android/launcher3/compat/PackageInstallerCompatVL.java +++ b/src/com/android/launcher3/compat/PackageInstallerCompatVL.java @@ -42,6 +42,7 @@ public class PackageInstallerCompatVL extends PackageInstallerCompat { PackageInstallerCompatVL(Context context) { mInstaller = context.getPackageManager().getPackageInstaller(); + LauncherAppState.setApplicationContext(context.getApplicationContext()); mCache = LauncherAppState.getInstance().getIconCache(); mResumed = false; |