mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Code clean up
This commit is contained in:
parent
55b4d97195
commit
34818473da
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ public class CacheUtil {
|
|||
return chain.proceed(request);
|
||||
};
|
||||
|
||||
private boolean isConnected(){
|
||||
private boolean isConnected() {
|
||||
ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
|
||||
NetworkInfo netInfo = connectivityManager.getActiveNetworkInfo();
|
||||
return (netInfo != null && netInfo.isConnected());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue