Merge "NPE fix"
This commit is contained in:
commit
8df4f319fe
|
@ -2007,7 +2007,9 @@ public final class Launcher extends Activity
|
|||
* Re-listen when widgets are reset.
|
||||
*/
|
||||
private void onAppWidgetReset() {
|
||||
mAppWidgetHost.startListening();
|
||||
if (mAppWidgetHost != null) {
|
||||
mAppWidgetHost.startListening();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue