34 lines
1014 B
Java
34 lines
1014 B
Java
|
package com.google.android.gms.measurement.internal;
|
||
|
|
||
|
import android.net.ConnectivityManager;
|
||
|
import android.net.NetworkInfo;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class zzer extends zzki {
|
||
|
public zzer(zzks zzksVar) {
|
||
|
super(zzksVar);
|
||
|
}
|
||
|
|
||
|
public final boolean zza() {
|
||
|
NetworkInfo activeNetworkInfo;
|
||
|
zzY();
|
||
|
ConnectivityManager connectivityManager = (ConnectivityManager) this.zzs.zzau().getSystemService("connectivity");
|
||
|
if (connectivityManager != null) {
|
||
|
try {
|
||
|
activeNetworkInfo = connectivityManager.getActiveNetworkInfo();
|
||
|
} catch (SecurityException unused) {
|
||
|
}
|
||
|
return activeNetworkInfo != null && activeNetworkInfo.isConnected();
|
||
|
}
|
||
|
activeNetworkInfo = null;
|
||
|
if (activeNetworkInfo != null) {
|
||
|
return false;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.measurement.internal.zzki
|
||
|
protected final boolean zzb() {
|
||
|
return false;
|
||
|
}
|
||
|
}
|