Further lint cleanup 2

Github Desktop isn't working as expected :(
This commit is contained in:
l3d00m
2015-08-20 19:30:51 +02:00
parent 8f881e23b2
commit 8a8a18d1ae
9 changed files with 12 additions and 34 deletions
@@ -65,7 +65,7 @@ public class RetryScheduler implements Observer {
ConnectivityManager mConnMgr = (ConnectivityManager)
mContext.getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo ni = mConnMgr.getNetworkInfo(ConnectivityManager.TYPE_MOBILE_MMS);
return (ni == null ? false : ni.isConnected());
return (ni != null && ni.isConnected());
}
public void update(Observable observable) {