Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
package com.google.android.gms.location;
|
||||
|
||||
import androidx.core.view.PointerIconCompat;
|
||||
import com.google.android.gms.common.api.CommonStatusCodes;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-location@@21.2.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public final class GeofenceStatusCodes extends CommonStatusCodes {
|
||||
public static final int GEOFENCE_INSUFFICIENT_LOCATION_PERMISSION = 1004;
|
||||
public static final int GEOFENCE_NOT_AVAILABLE = 1000;
|
||||
public static final int GEOFENCE_REQUEST_TOO_FREQUENT = 1005;
|
||||
public static final int GEOFENCE_TOO_MANY_GEOFENCES = 1001;
|
||||
public static final int GEOFENCE_TOO_MANY_PENDING_INTENTS = 1002;
|
||||
|
||||
private GeofenceStatusCodes() {
|
||||
}
|
||||
|
||||
public static String getStatusCodeString(int i) {
|
||||
switch (i) {
|
||||
case 1000:
|
||||
return "GEOFENCE_NOT_AVAILABLE";
|
||||
case 1001:
|
||||
return "GEOFENCE_TOO_MANY_GEOFENCES";
|
||||
case 1002:
|
||||
return "GEOFENCE_TOO_MANY_PENDING_INTENTS";
|
||||
case PointerIconCompat.TYPE_HELP /* 1003 */:
|
||||
default:
|
||||
return CommonStatusCodes.getStatusCodeString(i);
|
||||
case 1004:
|
||||
return "GEOFENCE_INSUFFICIENT_LOCATION_PERMISSION";
|
||||
}
|
||||
}
|
||||
|
||||
public static int zza(int i) {
|
||||
if (i == 0) {
|
||||
return i;
|
||||
}
|
||||
if (i < 1000 || i >= 1006) {
|
||||
return 13;
|
||||
}
|
||||
return i;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user