Merge "NPE fix"

This commit is contained in:
Michael Jurka authored and Android (Google) Code Review committed 2011-02-10 14:08:57 -08:00
commit 8df4f319fe
1 file changed
+3 -1
+3 -1
View File
@@ -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();
}
}
/**