what-the-bank/sources/com/google/android/gms/measurement/internal/zzer.java

34 lines
1014 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
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;
}
}