fix checkstyle EmptyStatement
This commit is contained in:
parent
7248375a3a
commit
331d4a174d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user