50 lines
1.4 KiB
Java
50 lines
1.4 KiB
Java
|
package com.kofax.mobile.sdk.af;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.location.Location;
|
||
|
import android.location.LocationListener;
|
||
|
import android.location.LocationManager;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class a implements com.kofax.mobile.sdk.aj.a {
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
com.kofax.mobile.sdk.ai.b Ub;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
LocationManager Uc;
|
||
|
private final Context _ctx;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@InterfaceC13391fZD
|
||
|
public a(Context context) {
|
||
|
this._ctx = context;
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.aj.a
|
||
|
public final void requestLocationUpdates(String str, long j, float f, LocationListener locationListener) {
|
||
|
this.Uc.requestLocationUpdates(str, j, f, locationListener);
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.aj.a
|
||
|
public final Location getLastKnownLocation(String str) {
|
||
|
return this.Uc.getLastKnownLocation(str);
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.aj.a
|
||
|
public final void removeUpdates(LocationListener locationListener) {
|
||
|
this.Uc.removeUpdates(locationListener);
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.aj.a
|
||
|
public final boolean qU() {
|
||
|
return this.Ub.a("android.permission.ACCESS_FINE_LOCATION");
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.aj.a
|
||
|
public final boolean aG(String str) {
|
||
|
return this.Uc.isProviderEnabled(str);
|
||
|
}
|
||
|
}
|