Merge "NPE fix"
This commit is contained in:
commit
8df4f319fe
1 file changed
+3
-1
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user