granularity level: instruction

		.class public final Landroidx/core/location/LocationManagerCompat;
.super Ljava/lang/Object;
.source "LocationManagerCompat.java"




.method private constructor <init>()V
	.locals 0

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	return-void
.end method

.method public static isLocationEnabled(Landroid/location/LocationManager;)Z
	.locals 2

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x1c
	if-lt v0, v1, :cond_0
	invoke-virtual {p0}, Landroid/location/LocationManager;->isLocationEnabled()Z
	move-result p0
	return p0
	:cond_0
	const-string v0, "network"
	invoke-virtual {p0, v0}, Landroid/location/LocationManager;->isProviderEnabled(Ljava/lang/String;)Z
	move-result v0
	if-nez v0, :cond_2
	const-string v0, "gps"
	invoke-virtual {p0, v0}, Landroid/location/LocationManager;->isProviderEnabled(Ljava/lang/String;)Z
	move-result p0
	if-eqz p0, :cond_1
	goto :goto_0
	:cond_1
	const/4 p0, 0x0
	goto :goto_1
	:cond_2
	:goto_0
	const/4 p0, 0x1
	:goto_1
	return p0
.end method