fix NPE on Kindle

This commit is contained in:
Eric House 2012-11-15 06:42:27 -08:00
parent 694857dd4e
commit 5afd93c5f5

View file

@ -155,7 +155,10 @@ public class UpdateCheckReceiver extends BroadcastReceiver {
if ( 0 < params.length() ) {
HttpPost post = makePost( context, "getUpdates" );
String json = runPost( post, params );
makeNotificationsIf( context, fromUI, json, pm, packageName, dals );
if ( null != json ) {
makeNotificationsIf( context, fromUI, json, pm, packageName,
dals );
}
}
}