mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Setting context in LauncherAppState before initialising it,
as it can be called from a BroadcastReceiver Bug: 17519159 Change-Id: I0434a3d1c392e8861eb759d88942deaf98116c19
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user