fix checkstyle EmptyStatement

This commit is contained in:
Hans-Christoph Steiner 2020-11-18 23:30:16 +01:00
parent 7248375a3a
commit 331d4a174d
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -80,7 +80,7 @@ public class ConnectivityMonitorService extends JobIntentService {
* cases when looking through the network devices, especially on bad ROMs. * cases when looking through the network devices, especially on bad ROMs.
*/ */
public static int getNetworkState(Context context) { public static int getNetworkState(Context context) {
ConnectivityManager cm = ContextCompat.getSystemService(context, ConnectivityManager.class);; ConnectivityManager cm = ContextCompat.getSystemService(context, ConnectivityManager.class);
if (cm == null) { if (cm == null) {
return FLAG_NET_UNAVAILABLE; return FLAG_NET_UNAVAILABLE;
} }