am 136882c1: Merge "Setting context in LauncherAppState before initialising it, as it can be called from a BroadcastReceiver" into ub-now-porkchop

* commit '136882c1950da1e5f0a24a8b6807b186a3297d8e':
  Setting context in LauncherAppState before initialising it, as it can be called from a BroadcastReceiver
This commit is contained in:
Sunny Goyal
2014-09-17 20:46:27 +00:00
committed by Android Git Automerger
@@ -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;