what-the-bank/sources/com/google/android/gms/location/zzbc.java

33 lines
844 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.location;
import com.google.android.gms.common.internal.Preconditions;
/* loaded from: classes2.dex */
public final class zzbc {
public static int zza(int i) {
boolean z = true;
if (i != 0 && i != 1) {
if (i == 2) {
i = 2;
} else {
z = false;
}
}
Preconditions.checkArgument(z, "granularity %d must be a Granularity.GRANULARITY_* constants", Integer.valueOf(i));
return i;
}
public static String zzb(int i) {
if (i == 0) {
return "GRANULARITY_PERMISSION_LEVEL";
}
if (i == 1) {
return "GRANULARITY_COARSE";
}
if (i == 2) {
return "GRANULARITY_FINE";
}
throw new IllegalArgumentException();
}
}