Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
package com.google.android.gms.location;
|
||||
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-location@@21.2.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public final class zzq {
|
||||
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_* constant", 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user