39 lines
868 B
Java
39 lines
868 B
Java
package o;
|
|
|
|
import android.content.Context;
|
|
import android.location.Location;
|
|
import android.location.LocationManager;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class BWq {
|
|
public static BWq a;
|
|
public final LWm b = new LWm();
|
|
public final Context d;
|
|
private final LocationManager e;
|
|
|
|
public BWq(Context context, LocationManager locationManager) {
|
|
this.d = context;
|
|
this.e = locationManager;
|
|
}
|
|
|
|
public final Location dL_(String str) {
|
|
try {
|
|
if (this.e.isProviderEnabled(str)) {
|
|
return this.e.getLastKnownLocation(str);
|
|
}
|
|
return null;
|
|
} catch (Exception unused) {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
public static class LWm {
|
|
public long a;
|
|
public boolean d;
|
|
|
|
LWm() {
|
|
}
|
|
}
|
|
}
|