mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-19 14:27:01 -04:00
fix checkstyle EmptyStatement
This commit is contained in:
@@ -80,7 +80,7 @@ public class ConnectivityMonitorService extends JobIntentService {
|
||||
* cases when looking through the network devices, especially on bad ROMs.
|
||||
*/
|
||||
public static int getNetworkState(Context context) {
|
||||
ConnectivityManager cm = ContextCompat.getSystemService(context, ConnectivityManager.class);;
|
||||
ConnectivityManager cm = ContextCompat.getSystemService(context, ConnectivityManager.class);
|
||||
if (cm == null) {
|
||||
return FLAG_NET_UNAVAILABLE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user