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

This commit is contained in:
Sunny Goyal authored and Android (Google) Code Review committed 2014-09-17 20:07:10 +00:00
commit 136882c195
1 file changed
+1
@@ -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;