granularity level: instruction

		.class public Lcom/google/android/gms/common/GoogleApiAvailability;
.super Lcom/google/android/gms/common/GoogleApiAvailabilityLight;
.source "com.google.android.gms:play-services-base@@18.0.1"


.field public static final GOOGLE_PLAY_SERVICES_PACKAGE:Ljava/lang/String; = "com.google.android.gms"
.field public static final GOOGLE_PLAY_SERVICES_VERSION_CODE:I
.field private static final zaa:Ljava/lang/Object;
.field private static final zab:Lcom/google/android/gms/common/GoogleApiAvailability;
.field private zac:Ljava/lang/String;


.method static constructor <clinit>()V
	.locals 1

	new-instance v0, Ljava/lang/Object;
	invoke-direct {v0}, Ljava/lang/Object;-><init>()V
	sput-object v0, Lcom/google/android/gms/common/GoogleApiAvailability;->zaa:Ljava/lang/Object;
	new-instance v0, Lcom/google/android/gms/common/GoogleApiAvailability;
	invoke-direct {v0}, Lcom/google/android/gms/common/GoogleApiAvailability;-><init>()V
	sput-object v0, Lcom/google/android/gms/common/GoogleApiAvailability;->zab:Lcom/google/android/gms/common/GoogleApiAvailability;
	sget v0, Lcom/google/android/gms/common/GoogleApiAvailabilityLight;->GOOGLE_PLAY_SERVICES_VERSION_CODE:I
	sput v0, Lcom/google/android/gms/common/GoogleApiAvailability;->GOOGLE_PLAY_SERVICES_VERSION_CODE:I
	return-void
.end method

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

	invoke-direct {p0}, Lcom/google/android/gms/common/GoogleApiAvailabilityLight;-><init>()V
	return-void
.end method

.method public static getInstance()Lcom/google/android/gms/common/GoogleApiAvailability;
	.locals 1

	sget-object v0, Lcom/google/android/gms/common/GoogleApiAvailability;->zab:Lcom/google/android/gms/common/GoogleApiAvailability;
	return-object v0
.end method

.method public static final varargs zai(Lcom/google/android/gms/common/api/HasApiKey;[Lcom/google/android/gms/common/api/HasApiKey;)Lcom/google/android/gms/tasks/Task;
	.locals 4
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Lcom/google/android/gms/common/api/HasApiKey<",
	"*>;[",
	"Lcom/google/android/gms/common/api/HasApiKey<",
	"*>;)",
	"Lcom/google/android/gms/tasks/Task<",
	"Ljava/util/Map<",
	"Lcom/google/android/gms/common/api/internal/ApiKey<",
	"*>;",
	"Ljava/lang/String;",
	">;>;"
	}
	.end annotation

	const-string v0, "Requested API must not be null."
	invoke-static {p0, v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	array-length v1, p1
	const/4 v2, 0x0
	:goto_0
	if-ge v2, v1, :cond_0
	aget-object v3, p1, v2
	invoke-static {v3, v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	add-int/lit8 v2, v2, 0x1
	goto :goto_0
	:cond_0
	new-instance v0, Ljava/util/ArrayList;
	array-length v1, p1
	add-int/lit8 v1, v1, 0x1
	invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
	invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
	invoke-static {p1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
	move-result-object p0
	invoke-interface {v0, p0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
	invoke-static {}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zal()Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	move-result-object p0
	invoke-virtual {p0, v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zao(Ljava/lang/Iterable;)Lcom/google/android/gms/tasks/Task;
	move-result-object p0
	return-object p0
.end method

.method public varargs checkApiAvailability(Lcom/google/android/gms/common/api/GoogleApi;[Lcom/google/android/gms/common/api/GoogleApi;)Lcom/google/android/gms/tasks/Task;
	.locals 0
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Lcom/google/android/gms/common/api/GoogleApi<",
	"*>;[",
	"Lcom/google/android/gms/common/api/GoogleApi<",
	"*>;)",
	"Lcom/google/android/gms/tasks/Task<",
	"Ljava/lang/Void;",
	">;"
	}
	.end annotation

	invoke-static {p1, p2}, Lcom/google/android/gms/common/GoogleApiAvailability;->zai(Lcom/google/android/gms/common/api/HasApiKey;[Lcom/google/android/gms/common/api/HasApiKey;)Lcom/google/android/gms/tasks/Task;
	move-result-object p1
	sget-object p2, Lcom/google/android/gms/common/zab;->zaa:Lcom/google/android/gms/common/zab;
	invoke-virtual {p1, p2}, Lcom/google/android/gms/tasks/Task;->onSuccessTask(Lcom/google/android/gms/tasks/SuccessContinuation;)Lcom/google/android/gms/tasks/Task;
	move-result-object p1
	return-object p1
.end method

.method public varargs checkApiAvailability(Lcom/google/android/gms/common/api/HasApiKey;[Lcom/google/android/gms/common/api/HasApiKey;)Lcom/google/android/gms/tasks/Task;
	.locals 0
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Lcom/google/android/gms/common/api/HasApiKey<",
	"*>;[",
	"Lcom/google/android/gms/common/api/HasApiKey<",
	"*>;)",
	"Lcom/google/android/gms/tasks/Task<",
	"Ljava/lang/Void;",
	">;"
	}
	.end annotation

	invoke-static {p1, p2}, Lcom/google/android/gms/common/GoogleApiAvailability;->zai(Lcom/google/android/gms/common/api/HasApiKey;[Lcom/google/android/gms/common/api/HasApiKey;)Lcom/google/android/gms/tasks/Task;
	move-result-object p1
	sget-object p2, Lcom/google/android/gms/common/zaa;->zaa:Lcom/google/android/gms/common/zaa;
	invoke-virtual {p1, p2}, Lcom/google/android/gms/tasks/Task;->onSuccessTask(Lcom/google/android/gms/tasks/SuccessContinuation;)Lcom/google/android/gms/tasks/Task;
	move-result-object p1
	return-object p1
.end method

.method public getClientVersion(Landroid/content/Context;)I
	.locals 0

	invoke-super {p0, p1}, Lcom/google/android/gms/common/GoogleApiAvailabilityLight;->getClientVersion(Landroid/content/Context;)I
	move-result p1
	return p1
.end method

.method public getErrorDialog(Landroid/app/Activity;II)Landroid/app/Dialog;
	.locals 1

	const/4 v0, 0x0
	invoke-virtual {p0, p1, p2, p3, v0}, Lcom/google/android/gms/common/GoogleApiAvailability;->getErrorDialog(Landroid/app/Activity;IILandroid/content/DialogInterface$OnCancelListener;)Landroid/app/Dialog;
	move-result-object p1
	return-object p1
.end method

.method public getErrorDialog(Landroid/app/Activity;IILandroid/content/DialogInterface$OnCancelListener;)Landroid/app/Dialog;
	.locals 1

	const-string v0, "d"
	invoke-virtual {p0, p1, p2, v0}, Lcom/google/android/gms/common/GoogleApiAvailability;->getErrorResolutionIntent(Landroid/content/Context;ILjava/lang/String;)Landroid/content/Intent;
	move-result-object v0
	invoke-static {p1, v0, p3}, Lcom/google/android/gms/common/internal/zag;->zab(Landroid/app/Activity;Landroid/content/Intent;I)Lcom/google/android/gms/common/internal/zag;
	move-result-object p3
	invoke-virtual {p0, p1, p2, p3, p4}, Lcom/google/android/gms/common/GoogleApiAvailability;->zaa(Landroid/content/Context;ILcom/google/android/gms/common/internal/zag;Landroid/content/DialogInterface$OnCancelListener;)Landroid/app/Dialog;
	move-result-object p1
	return-object p1
.end method

.method public getErrorDialog(Landroidx/fragment/app/Fragment;II)Landroid/app/Dialog;
	.locals 1

	const/4 v0, 0x0
	invoke-virtual {p0, p1, p2, p3, v0}, Lcom/google/android/gms/common/GoogleApiAvailability;->getErrorDialog(Landroidx/fragment/app/Fragment;IILandroid/content/DialogInterface$OnCancelListener;)Landroid/app/Dialog;
	move-result-object p1
	return-object p1
.end method

.method public getErrorDialog(Landroidx/fragment/app/Fragment;IILandroid/content/DialogInterface$OnCancelListener;)Landroid/app/Dialog;
	.locals 2

	invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
	move-result-object v0
	const-string v1, "d"
	invoke-virtual {p0, v0, p2, v1}, Lcom/google/android/gms/common/GoogleApiAvailability;->getErrorResolutionIntent(Landroid/content/Context;ILjava/lang/String;)Landroid/content/Intent;
	move-result-object v0
	invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
	move-result-object v1
	invoke-static {p1, v0, p3}, Lcom/google/android/gms/common/internal/zag;->zac(Landroidx/fragment/app/Fragment;Landroid/content/Intent;I)Lcom/google/android/gms/common/internal/zag;
	move-result-object p1
	invoke-virtual {p0, v1, p2, p1, p4}, Lcom/google/android/gms/common/GoogleApiAvailability;->zaa(Landroid/content/Context;ILcom/google/android/gms/common/internal/zag;Landroid/content/DialogInterface$OnCancelListener;)Landroid/app/Dialog;
	move-result-object p1
	return-object p1
.end method

.method public getErrorResolutionIntent(Landroid/content/Context;ILjava/lang/String;)Landroid/content/Intent;
	.locals 0

	invoke-super {p0, p1, p2, p3}, Lcom/google/android/gms/common/GoogleApiAvailabilityLight;->getErrorResolutionIntent(Landroid/content/Context;ILjava/lang/String;)Landroid/content/Intent;
	move-result-object p1
	return-object p1
.end method

.method public getErrorResolutionPendingIntent(Landroid/content/Context;II)Landroid/app/PendingIntent;
	.locals 0

	invoke-super {p0, p1, p2, p3}, Lcom/google/android/gms/common/GoogleApiAvailabilityLight;->getErrorResolutionPendingIntent(Landroid/content/Context;II)Landroid/app/PendingIntent;
	move-result-object p1
	return-object p1
.end method

.method public getErrorResolutionPendingIntent(Landroid/content/Context;Lcom/google/android/gms/common/ConnectionResult;)Landroid/app/PendingIntent;
	.locals 1

	invoke-virtual {p2}, Lcom/google/android/gms/common/ConnectionResult;->hasResolution()Z
	move-result v0
	if-eqz v0, :cond_0
	invoke-virtual {p2}, Lcom/google/android/gms/common/ConnectionResult;->getResolution()Landroid/app/PendingIntent;
	move-result-object p1
	return-object p1
	:cond_0
	invoke-virtual {p2}, Lcom/google/android/gms/common/ConnectionResult;->getErrorCode()I
	move-result p2
	const/4 v0, 0x0
	invoke-virtual {p0, p1, p2, v0}, Lcom/google/android/gms/common/GoogleApiAvailability;->getErrorResolutionPendingIntent(Landroid/content/Context;II)Landroid/app/PendingIntent;
	move-result-object p1
	return-object p1
.end method

.method public final getErrorString(I)Ljava/lang/String;
	.locals 0

	invoke-super {p0, p1}, Lcom/google/android/gms/common/GoogleApiAvailabilityLight;->getErrorString(I)Ljava/lang/String;
	move-result-object p1
	return-object p1
.end method

.method public isGooglePlayServicesAvailable(Landroid/content/Context;)I
	.locals 0

	invoke-super {p0, p1}, Lcom/google/android/gms/common/GoogleApiAvailabilityLight;->isGooglePlayServicesAvailable(Landroid/content/Context;)I
	move-result p1
	return p1
.end method

.method public isGooglePlayServicesAvailable(Landroid/content/Context;I)I
	.locals 0

	invoke-super {p0, p1, p2}, Lcom/google/android/gms/common/GoogleApiAvailabilityLight;->isGooglePlayServicesAvailable(Landroid/content/Context;I)I
	move-result p1
	return p1
.end method

.method public final isUserResolvableError(I)Z
	.locals 0

	invoke-super {p0, p1}, Lcom/google/android/gms/common/GoogleApiAvailabilityLight;->isUserResolvableError(I)Z
	move-result p1
	return p1
.end method

.method public makeGooglePlayServicesAvailable(Landroid/app/Activity;)Lcom/google/android/gms/tasks/Task;
	.locals 3
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Landroid/app/Activity;",
	")",
	"Lcom/google/android/gms/tasks/Task<",
	"Ljava/lang/Void;",
	">;"
	}
	.end annotation

	sget v0, Lcom/google/android/gms/common/GoogleApiAvailability;->GOOGLE_PLAY_SERVICES_VERSION_CODE:I
	const-string v1, "makeGooglePlayServicesAvailable must be called from the main thread"
	invoke-static {v1}, Lcom/google/android/gms/common/internal/Preconditions;->checkMainThread(Ljava/lang/String;)V
	invoke-virtual {p0, p1, v0}, Lcom/google/android/gms/common/GoogleApiAvailability;->isGooglePlayServicesAvailable(Landroid/content/Context;I)I
	move-result v0
	const/4 v1, 0x0
	if-nez v0, :cond_0
	invoke-static {v1}, Lcom/google/android/gms/tasks/Tasks;->forResult(Ljava/lang/Object;)Lcom/google/android/gms/tasks/Task;
	move-result-object p1
	goto :goto_0
	:cond_0
	invoke-static {p1}, Lcom/google/android/gms/common/api/internal/zacc;->zaa(Landroid/app/Activity;)Lcom/google/android/gms/common/api/internal/zacc;
	move-result-object p1
	new-instance v2, Lcom/google/android/gms/common/ConnectionResult;
	invoke-direct {v2, v0, v1}, Lcom/google/android/gms/common/ConnectionResult;-><init>(ILandroid/app/PendingIntent;)V
	const/4 v0, 0x0
	invoke-virtual {p1, v2, v0}, Lcom/google/android/gms/common/api/internal/zap;->zah(Lcom/google/android/gms/common/ConnectionResult;I)V
	invoke-virtual {p1}, Lcom/google/android/gms/common/api/internal/zacc;->zad()Lcom/google/android/gms/tasks/Task;
	move-result-object p1
	:goto_0
	return-object p1
.end method

.method public setDefaultNotificationChannelId(Landroid/content/Context;Ljava/lang/String;)V
	.locals 1

	invoke-static {}, Lcom/google/android/gms/common/util/PlatformVersion;->isAtLeastO()Z
	move-result v0
	if-eqz v0, :cond_0
	const-string v0, "notification"
	invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
	move-result-object p1
	invoke-static {p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object p1
	check-cast p1, Landroid/app/NotificationManager;
	invoke-virtual {p1, p2}, Landroid/app/NotificationManager;->getNotificationChannel(Ljava/lang/String;)Landroid/app/NotificationChannel;
	move-result-object p1
	invoke-static {p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
	:cond_0
	sget-object p1, Lcom/google/android/gms/common/GoogleApiAvailability;->zaa:Ljava/lang/Object;
	monitor-enter p1
	:try_start_0
	iput-object p2, p0, Lcom/google/android/gms/common/GoogleApiAvailability;->zac:Ljava/lang/String;
	monitor-exit p1
	return-void
	:catchall_0
	move-exception p2
	monitor-exit p1
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	throw p2
.end method

.method public showErrorDialogFragment(Landroid/app/Activity;II)Z
	.locals 1

	const/4 v0, 0x0
	invoke-virtual {p0, p1, p2, p3, v0}, Lcom/google/android/gms/common/GoogleApiAvailability;->showErrorDialogFragment(Landroid/app/Activity;IILandroid/content/DialogInterface$OnCancelListener;)Z
	move-result p1
	return p1
.end method

.method public showErrorDialogFragment(Landroid/app/Activity;IILandroid/content/DialogInterface$OnCancelListener;)Z
	.locals 0

	invoke-virtual {p0, p1, p2, p3, p4}, Lcom/google/android/gms/common/GoogleApiAvailability;->getErrorDialog(Landroid/app/Activity;IILandroid/content/DialogInterface$OnCancelListener;)Landroid/app/Dialog;
	move-result-object p2
	if-nez p2, :cond_0
	const/4 p1, 0x0
	return p1
	:cond_0
	const-string p3, "GooglePlayServicesErrorDialog"
	invoke-virtual {p0, p1, p2, p3, p4}, Lcom/google/android/gms/common/GoogleApiAvailability;->zad(Landroid/app/Activity;Landroid/app/Dialog;Ljava/lang/String;Landroid/content/DialogInterface$OnCancelListener;)V
	const/4 p1, 0x1
	return p1
.end method

.method public showErrorNotification(Landroid/content/Context;I)V
	.locals 2

	const/4 v0, 0x0
	const-string v1, "n"
	invoke-virtual {p0, p1, p2, v0, v1}, Lcom/google/android/gms/common/GoogleApiAvailability;->getErrorResolutionPendingIntent(Landroid/content/Context;IILjava/lang/String;)Landroid/app/PendingIntent;
	move-result-object v0
	const/4 v1, 0x0
	invoke-virtual {p0, p1, p2, v1, v0}, Lcom/google/android/gms/common/GoogleApiAvailability;->zae(Landroid/content/Context;ILjava/lang/String;Landroid/app/PendingIntent;)V
	return-void
.end method

.method public showErrorNotification(Landroid/content/Context;Lcom/google/android/gms/common/ConnectionResult;)V
	.locals 2

	invoke-virtual {p0, p1, p2}, Lcom/google/android/gms/common/GoogleApiAvailability;->getErrorResolutionPendingIntent(Landroid/content/Context;Lcom/google/android/gms/common/ConnectionResult;)Landroid/app/PendingIntent;
	move-result-object v0
	invoke-virtual {p2}, Lcom/google/android/gms/common/ConnectionResult;->getErrorCode()I
	move-result p2
	const/4 v1, 0x0
	invoke-virtual {p0, p1, p2, v1, v0}, Lcom/google/android/gms/common/GoogleApiAvailability;->zae(Landroid/content/Context;ILjava/lang/String;Landroid/app/PendingIntent;)V
	return-void
.end method

.method final zaa(Landroid/content/Context;ILcom/google/android/gms/common/internal/zag;Landroid/content/DialogInterface$OnCancelListener;)Landroid/app/Dialog;
	.locals 5

	const/4 v0, 0x0
	if-nez p2, :cond_0
	return-object v0
	:cond_0
	new-instance v1, Landroid/util/TypedValue;
	invoke-direct {v1}, Landroid/util/TypedValue;-><init>()V
	invoke-virtual {p1}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme;
	move-result-object v2
	const v3, 0x1010309
	const/4 v4, 0x1
	invoke-virtual {v2, v3, v1, v4}, Landroid/content/res/Resources$Theme;->resolveAttribute(ILandroid/util/TypedValue;Z)Z
	invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
	move-result-object v2
	iget v1, v1, Landroid/util/TypedValue;->resourceId:I
	invoke-virtual {v2, v1}, Landroid/content/res/Resources;->getResourceEntryName(I)Ljava/lang/String;
	move-result-object v1
	const-string v2, "Theme.Dialog.Alert"
	invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v1
	if-eqz v1, :cond_1
	new-instance v0, Landroid/app/AlertDialog$Builder;
	const/4 v1, 0x5
	invoke-direct {v0, p1, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;I)V
	:cond_1
	if-nez v0, :cond_2
	new-instance v0, Landroid/app/AlertDialog$Builder;
	invoke-direct {v0, p1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V
	:cond_2
	invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/zac;->zad(Landroid/content/Context;I)Ljava/lang/String;
	move-result-object v1
	invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;
	if-eqz p4, :cond_3
	invoke-virtual {v0, p4}, Landroid/app/AlertDialog$Builder;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)Landroid/app/AlertDialog$Builder;
	:cond_3
	invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/zac;->zac(Landroid/content/Context;I)Ljava/lang/String;
	move-result-object p4
	if-eqz p4, :cond_4
	invoke-virtual {v0, p4, p3}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
	:cond_4
	invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/zac;->zag(Landroid/content/Context;I)Ljava/lang/String;
	move-result-object p1
	if-eqz p1, :cond_5
	invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;
	:cond_5
	new-array p1, v4, [Ljava/lang/Object;
	const/4 p3, 0x0
	invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
	move-result-object p2
	aput-object p2, p1, p3
	const-string p2, "Creating dialog for Google Play services availability issue. ConnectionResult=%s"
	invoke-static {p2, p1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
	move-result-object p1
	new-instance p2, Ljava/lang/IllegalArgumentException;
	invoke-direct {p2}, Ljava/lang/IllegalArgumentException;-><init>()V
	const-string p3, "GoogleApiAvailability"
	invoke-static {p3, p1, p2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
	invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;
	move-result-object p1
	return-object p1
.end method

.method public final zab(Landroid/app/Activity;Landroid/content/DialogInterface$OnCancelListener;)Landroid/app/Dialog;
	.locals 3

	new-instance v0, Landroid/widget/ProgressBar;
	const/4 v1, 0x0
	const v2, 0x101007a
	invoke-direct {v0, p1, v1, v2}, Landroid/widget/ProgressBar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
	const/4 v2, 0x1
	invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setIndeterminate(Z)V
	const/4 v2, 0x0
	invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V
	new-instance v2, Landroid/app/AlertDialog$Builder;
	invoke-direct {v2, p1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V
	invoke-virtual {v2, v0}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder;
	const/16 v0, 0x12
	invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/zac;->zad(Landroid/content/Context;I)Ljava/lang/String;
	move-result-object v0
	invoke-virtual {v2, v0}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;
	const-string v0, ""
	invoke-virtual {v2, v0, v1}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
	invoke-virtual {v2}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;
	move-result-object v0
	const-string v1, "GooglePlayServicesUpdatingDialog"
	invoke-virtual {p0, p1, v0, v1, p2}, Lcom/google/android/gms/common/GoogleApiAvailability;->zad(Landroid/app/Activity;Landroid/app/Dialog;Ljava/lang/String;Landroid/content/DialogInterface$OnCancelListener;)V
	return-object v0
.end method

.method public final zac(Landroid/content/Context;Lcom/google/android/gms/common/api/internal/zabw;)Lcom/google/android/gms/common/api/internal/zabx;
	.locals 2

	new-instance v0, Landroid/content/IntentFilter;
	const-string v1, "android.intent.action.PACKAGE_ADDED"
	invoke-direct {v0, v1}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V
	const-string v1, "package"
	invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addDataScheme(Ljava/lang/String;)V
	new-instance v1, Lcom/google/android/gms/common/api/internal/zabx;
	invoke-direct {v1, p2}, Lcom/google/android/gms/common/api/internal/zabx;-><init>(Lcom/google/android/gms/common/api/internal/zabw;)V
	invoke-virtual {p1, v1, v0}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
	invoke-virtual {v1, p1}, Lcom/google/android/gms/common/api/internal/zabx;->zaa(Landroid/content/Context;)V
	const-string v0, "com.google.android.gms"
	invoke-virtual {p0, p1, v0}, Lcom/google/android/gms/common/GoogleApiAvailability;->isUninstalledAppPossiblyUpdating(Landroid/content/Context;Ljava/lang/String;)Z
	move-result p1
	if-nez p1, :cond_0
	invoke-virtual {p2}, Lcom/google/android/gms/common/api/internal/zabw;->zaa()V
	invoke-virtual {v1}, Lcom/google/android/gms/common/api/internal/zabx;->zab()V
	const/4 p1, 0x0
	return-object p1
	:cond_0
	return-object v1
.end method

.method final zad(Landroid/app/Activity;Landroid/app/Dialog;Ljava/lang/String;Landroid/content/DialogInterface$OnCancelListener;)V
	.locals 1

	:try_start_0
	instance-of v0, p1, Landroidx/fragment/app/FragmentActivity;
	:try_end_0
	.catch Ljava/lang/NoClassDefFoundError; {:try_start_0 .. :try_end_0} :catch_0
	if-eqz v0, :cond_0
	check-cast p1, Landroidx/fragment/app/FragmentActivity;
	invoke-virtual {p1}, Landroidx/fragment/app/FragmentActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;
	move-result-object p1
	invoke-static {p2, p4}, Lcom/google/android/gms/common/SupportErrorDialogFragment;->newInstance(Landroid/app/Dialog;Landroid/content/DialogInterface$OnCancelListener;)Lcom/google/android/gms/common/SupportErrorDialogFragment;
	move-result-object p2
	invoke-virtual {p2, p1, p3}, Lcom/google/android/gms/common/SupportErrorDialogFragment;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V
	return-void
	:cond_0
	:catch_0
	invoke-virtual {p1}, Landroid/app/Activity;->getFragmentManager()Landroid/app/FragmentManager;
	move-result-object p1
	invoke-static {p2, p4}, Lcom/google/android/gms/common/ErrorDialogFragment;->newInstance(Landroid/app/Dialog;Landroid/content/DialogInterface$OnCancelListener;)Lcom/google/android/gms/common/ErrorDialogFragment;
	move-result-object p2
	invoke-virtual {p2, p1, p3}, Lcom/google/android/gms/common/ErrorDialogFragment;->show(Landroid/app/FragmentManager;Ljava/lang/String;)V
	return-void
.end method

.method final zae(Landroid/content/Context;ILjava/lang/String;Landroid/app/PendingIntent;)V
	.locals 8

	const/4 p3, 0x2
	new-array v0, p3, [Ljava/lang/Object;
	invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
	move-result-object v1
	const/4 v2, 0x0
	aput-object v1, v0, v2
	const/4 v1, 0x0
	const/4 v3, 0x1
	aput-object v1, v0, v3
	const-string v1, "GMS core API Availability. ConnectionResult=%s, tag=%s"
	invoke-static {v1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v0
	new-instance v1, Ljava/lang/IllegalArgumentException;
	invoke-direct {v1}, Ljava/lang/IllegalArgumentException;-><init>()V
	const-string v4, "GoogleApiAvailability"
	invoke-static {v4, v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
	const/16 v0, 0x12
	if-ne p2, v0, :cond_0
	invoke-virtual {p0, p1}, Lcom/google/android/gms/common/GoogleApiAvailability;->zaf(Landroid/content/Context;)V
	return-void
	:cond_0
	if-nez p4, :cond_2
	const/4 p1, 0x6
	if-ne p2, p1, :cond_1
	const-string p1, "GoogleApiAvailability"
	const-string p2, "Missing resolution for ConnectionResult.RESOLUTION_REQUIRED. Call GoogleApiAvailability#showErrorNotification(Context, ConnectionResult) instead."
	invoke-static {p1, p2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:cond_1
	return-void
	:cond_2
	invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/zac;->zaf(Landroid/content/Context;I)Ljava/lang/String;
	move-result-object v0
	invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/zac;->zae(Landroid/content/Context;I)Ljava/lang/String;
	move-result-object v1
	invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
	move-result-object v4
	const-string v5, "notification"
	invoke-virtual {p1, v5}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
	move-result-object v5
	invoke-static {v5}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object v5
	check-cast v5, Landroid/app/NotificationManager;
	new-instance v6, Landroidx/core/app/NotificationCompat$Builder;
	invoke-direct {v6, p1}, Landroidx/core/app/NotificationCompat$Builder;-><init>(Landroid/content/Context;)V
	invoke-virtual {v6, v3}, Landroidx/core/app/NotificationCompat$Builder;->setLocalOnly(Z)Landroidx/core/app/NotificationCompat$Builder;
	move-result-object v6
	invoke-virtual {v6, v3}, Landroidx/core/app/NotificationCompat$Builder;->setAutoCancel(Z)Landroidx/core/app/NotificationCompat$Builder;
	move-result-object v6
	invoke-virtual {v6, v0}, Landroidx/core/app/NotificationCompat$Builder;->setContentTitle(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$Builder;
	move-result-object v0
	new-instance v6, Landroidx/core/app/NotificationCompat$BigTextStyle;
	invoke-direct {v6}, Landroidx/core/app/NotificationCompat$BigTextStyle;-><init>()V
	invoke-virtual {v6, v1}, Landroidx/core/app/NotificationCompat$BigTextStyle;->bigText(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$BigTextStyle;
	move-result-object v6
	invoke-virtual {v0, v6}, Landroidx/core/app/NotificationCompat$Builder;->setStyle(Landroidx/core/app/NotificationCompat$Style;)Landroidx/core/app/NotificationCompat$Builder;
	move-result-object v0
	invoke-static {p1}, Lcom/google/android/gms/common/util/DeviceProperties;->isWearable(Landroid/content/Context;)Z
	move-result v6
	if-eqz v6, :cond_4
	invoke-static {}, Lcom/google/android/gms/common/util/PlatformVersion;->isAtLeastKitKatWatch()Z
	move-result v1
	invoke-static {v1}, Lcom/google/android/gms/common/internal/Preconditions;->checkState(Z)V
	invoke-virtual {p1}, Landroid/content/Context;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;
	move-result-object v1
	iget v1, v1, Landroid/content/pm/ApplicationInfo;->icon:I
	invoke-virtual {v0, v1}, Landroidx/core/app/NotificationCompat$Builder;->setSmallIcon(I)Landroidx/core/app/NotificationCompat$Builder;
	move-result-object v1
	invoke-virtual {v1, p3}, Landroidx/core/app/NotificationCompat$Builder;->setPriority(I)Landroidx/core/app/NotificationCompat$Builder;
	invoke-static {p1}, Lcom/google/android/gms/common/util/DeviceProperties;->isWearableWithoutPlayStore(Landroid/content/Context;)Z
	move-result v1
	if-eqz v1, :cond_3
	sget v1, Lcom/google/android/gms/base/R$drawable;->common_full_open_on_phone:I
	sget v6, Lcom/google/android/gms/base/R$string;->common_open_on_phone:I
	invoke-virtual {v4, v6}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
	move-result-object v4
	invoke-virtual {v0, v1, v4, p4}, Landroidx/core/app/NotificationCompat$Builder;->addAction(ILjava/lang/CharSequence;Landroid/app/PendingIntent;)Landroidx/core/app/NotificationCompat$Builder;
	goto :goto_0
	:cond_3
	invoke-virtual {v0, p4}, Landroidx/core/app/NotificationCompat$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroidx/core/app/NotificationCompat$Builder;
	goto :goto_0
	:cond_4
	const v6, 0x108008a
	invoke-virtual {v0, v6}, Landroidx/core/app/NotificationCompat$Builder;->setSmallIcon(I)Landroidx/core/app/NotificationCompat$Builder;
	move-result-object v6
	sget v7, Lcom/google/android/gms/base/R$string;->common_google_play_services_notification_ticker:I
	invoke-virtual {v4, v7}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
	move-result-object v4
	invoke-virtual {v6, v4}, Landroidx/core/app/NotificationCompat$Builder;->setTicker(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$Builder;
	move-result-object v4
	invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
	move-result-wide v6
	invoke-virtual {v4, v6, v7}, Landroidx/core/app/NotificationCompat$Builder;->setWhen(J)Landroidx/core/app/NotificationCompat$Builder;
	move-result-object v4
	invoke-virtual {v4, p4}, Landroidx/core/app/NotificationCompat$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroidx/core/app/NotificationCompat$Builder;
	move-result-object p4
	invoke-virtual {p4, v1}, Landroidx/core/app/NotificationCompat$Builder;->setContentText(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$Builder;
	:goto_0
	invoke-static {}, Lcom/google/android/gms/common/util/PlatformVersion;->isAtLeastO()Z
	move-result p4
	if-nez p4, :cond_5
	goto :goto_2
	:cond_5
	invoke-static {}, Lcom/google/android/gms/common/util/PlatformVersion;->isAtLeastO()Z
	move-result p4
	invoke-static {p4}, Lcom/google/android/gms/common/internal/Preconditions;->checkState(Z)V
	sget-object p4, Lcom/google/android/gms/common/GoogleApiAvailability;->zaa:Ljava/lang/Object;
	monitor-enter p4
	:try_start_0
	iget-object v1, p0, Lcom/google/android/gms/common/GoogleApiAvailability;->zac:Ljava/lang/String;
	monitor-exit p4
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	if-nez v1, :cond_7
	const-string v1, "com.google.android.gms.availability"
	invoke-virtual {v5, v1}, Landroid/app/NotificationManager;->getNotificationChannel(Ljava/lang/String;)Landroid/app/NotificationChannel;
	move-result-object p4
	invoke-static {p1}, Lcom/google/android/gms/common/internal/zac;->zab(Landroid/content/Context;)Ljava/lang/String;
	move-result-object p1
	if-nez p4, :cond_6
	new-instance p4, Landroid/app/NotificationChannel;
	const/4 v4, 0x4
	invoke-direct {p4, v1, p1, v4}, Landroid/app/NotificationChannel;-><init>(Ljava/lang/String;Ljava/lang/CharSequence;I)V
	invoke-virtual {v5, p4}, Landroid/app/NotificationManager;->createNotificationChannel(Landroid/app/NotificationChannel;)V
	goto :goto_1
	:cond_6
	invoke-virtual {p4}, Landroid/app/NotificationChannel;->getName()Ljava/lang/CharSequence;
	move-result-object v4
	invoke-virtual {p1, v4}, Ljava/lang/String;->contentEquals(Ljava/lang/CharSequence;)Z
	move-result v4
	if-nez v4, :cond_7
	invoke-virtual {p4, p1}, Landroid/app/NotificationChannel;->setName(Ljava/lang/CharSequence;)V
	invoke-virtual {v5, p4}, Landroid/app/NotificationManager;->createNotificationChannel(Landroid/app/NotificationChannel;)V
	:goto_1
	:cond_7
	invoke-virtual {v0, v1}, Landroidx/core/app/NotificationCompat$Builder;->setChannelId(Ljava/lang/String;)Landroidx/core/app/NotificationCompat$Builder;
	:goto_2
	invoke-virtual {v0}, Landroidx/core/app/NotificationCompat$Builder;->build()Landroid/app/Notification;
	move-result-object p1
	if-eq p2, v3, :cond_8
	if-eq p2, p3, :cond_8
	const/4 p3, 0x3
	if-eq p2, p3, :cond_8
	const p2, 0x9b6d
	goto :goto_3
	:cond_8
	sget-object p2, Lcom/google/android/gms/common/GooglePlayServicesUtilLight;->sCanceledAvailabilityNotification:Ljava/util/concurrent/atomic/AtomicBoolean;
	invoke-virtual {p2, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V
	const/16 p2, 0x28c4
	:goto_3
	invoke-virtual {v5, p2, p1}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V
	return-void
	:catchall_0
	move-exception p1
	:try_start_1
	monitor-exit p4
	:try_end_1
	.catchall {:try_start_1 .. :try_end_1} :catchall_0
	throw p1
.end method

.method final zaf(Landroid/content/Context;)V
	.locals 3

	new-instance v0, Lcom/google/android/gms/common/zac;
	invoke-direct {v0, p0, p1}, Lcom/google/android/gms/common/zac;-><init>(Lcom/google/android/gms/common/GoogleApiAvailability;Landroid/content/Context;)V
	const/4 p1, 0x1
	const-wide/32 v1, 0x1d4c0
	invoke-virtual {v0, p1, v1, v2}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z
	return-void
.end method

.method public final zag(Landroid/app/Activity;Lcom/google/android/gms/common/api/internal/LifecycleFragment;IILandroid/content/DialogInterface$OnCancelListener;)Z
	.locals 1

	const-string p4, "d"
	invoke-virtual {p0, p1, p3, p4}, Lcom/google/android/gms/common/GoogleApiAvailability;->getErrorResolutionIntent(Landroid/content/Context;ILjava/lang/String;)Landroid/content/Intent;
	move-result-object p4
	const/4 v0, 0x2
	invoke-static {p2, p4, v0}, Lcom/google/android/gms/common/internal/zag;->zad(Lcom/google/android/gms/common/api/internal/LifecycleFragment;Landroid/content/Intent;I)Lcom/google/android/gms/common/internal/zag;
	move-result-object p2
	invoke-virtual {p0, p1, p3, p2, p5}, Lcom/google/android/gms/common/GoogleApiAvailability;->zaa(Landroid/content/Context;ILcom/google/android/gms/common/internal/zag;Landroid/content/DialogInterface$OnCancelListener;)Landroid/app/Dialog;
	move-result-object p2
	if-nez p2, :cond_0
	const/4 p1, 0x0
	return p1
	:cond_0
	const-string p3, "GooglePlayServicesErrorDialog"
	invoke-virtual {p0, p1, p2, p3, p5}, Lcom/google/android/gms/common/GoogleApiAvailability;->zad(Landroid/app/Activity;Landroid/app/Dialog;Ljava/lang/String;Landroid/content/DialogInterface$OnCancelListener;)V
	const/4 p1, 0x1
	return p1
.end method

.method public final zah(Landroid/content/Context;Lcom/google/android/gms/common/ConnectionResult;I)Z
	.locals 5

	invoke-static {p1}, Lcom/google/android/gms/common/wrappers/InstantApps;->isInstantApp(Landroid/content/Context;)Z
	move-result v0
	const/4 v1, 0x0
	if-eqz v0, :cond_0
	return v1
	:cond_0
	invoke-virtual {p0, p1, p2}, Lcom/google/android/gms/common/GoogleApiAvailability;->getErrorResolutionPendingIntent(Landroid/content/Context;Lcom/google/android/gms/common/ConnectionResult;)Landroid/app/PendingIntent;
	move-result-object v0
	if-eqz v0, :cond_1
	invoke-virtual {p2}, Lcom/google/android/gms/common/ConnectionResult;->getErrorCode()I
	move-result p2
	const/4 v2, 0x0
	const/4 v3, 0x1
	invoke-static {p1, v0, p3, v3}, Lcom/google/android/gms/common/api/GoogleApiActivity;->zaa(Landroid/content/Context;Landroid/app/PendingIntent;IZ)Landroid/content/Intent;
	move-result-object p3
	sget v0, Lcom/google/android/gms/internal/base/zal;->zaa:I
	const/high16 v4, 0x8000000
	or-int/2addr v0, v4
	invoke-static {p1, v1, p3, v0}, Lcom/google/android/gms/internal/base/zal;->zaa(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;
	move-result-object p3
	invoke-virtual {p0, p1, p2, v2, p3}, Lcom/google/android/gms/common/GoogleApiAvailability;->zae(Landroid/content/Context;ILjava/lang/String;Landroid/app/PendingIntent;)V
	return v3
	:cond_1
	return v1
.end method