Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
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 zzan {
|
||||
public static int zza(int i) {
|
||||
boolean z = true;
|
||||
if (i != 100 && i != 102 && i != 104) {
|
||||
if (i == 105) {
|
||||
i = 105;
|
||||
} else {
|
||||
z = false;
|
||||
}
|
||||
}
|
||||
Preconditions.checkArgument(z, "priority %d must be a Priority.PRIORITY_* constant", Integer.valueOf(i));
|
||||
return i;
|
||||
}
|
||||
|
||||
public static String zzb(int i) {
|
||||
if (i == 100) {
|
||||
return "HIGH_ACCURACY";
|
||||
}
|
||||
if (i == 102) {
|
||||
return "BALANCED_POWER_ACCURACY";
|
||||
}
|
||||
if (i == 104) {
|
||||
return "LOW_POWER";
|
||||
}
|
||||
if (i == 105) {
|
||||
return "PASSIVE";
|
||||
}
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user