Merge "Set App context from WallpaperChanged receiver. (Bug 12525684)" into jb-ub-now-kermit
This commit is contained in:
@@ -22,6 +22,7 @@ import android.content.Intent;
|
|||||||
|
|
||||||
public class WallpaperChangedReceiver extends BroadcastReceiver {
|
public class WallpaperChangedReceiver extends BroadcastReceiver {
|
||||||
public void onReceive(Context context, Intent data) {
|
public void onReceive(Context context, Intent data) {
|
||||||
|
LauncherAppState.setApplicationContext(context.getApplicationContext());
|
||||||
LauncherAppState appState = LauncherAppState.getInstance();
|
LauncherAppState appState = LauncherAppState.getInstance();
|
||||||
appState.onWallpaperChanged();
|
appState.onWallpaperChanged();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user