granularity level: instruction
.class public final Lcom/google/android/gms/common/api/internal/zaae;
.super Lcom/google/android/gms/common/api/internal/zap;
.source "com.google.android.gms:play-services-base@@18.0.1"
.field private final zad:Landroidx/collection/ArraySet;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/collection/ArraySet<",
"Lcom/google/android/gms/common/api/internal/ApiKey<",
"*>;>;"
}
.end annotation
.end field
.field private final zae:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
.method constructor <init>(Lcom/google/android/gms/common/api/internal/LifecycleFragment;Lcom/google/android/gms/common/api/internal/GoogleApiManager;Lcom/google/android/gms/common/GoogleApiAvailability;)V
.locals 0
invoke-direct {p0, p1, p3}, Lcom/google/android/gms/common/api/internal/zap;-><init>(Lcom/google/android/gms/common/api/internal/LifecycleFragment;Lcom/google/android/gms/common/GoogleApiAvailability;)V
new-instance p1, Landroidx/collection/ArraySet;
invoke-direct {p1}, Landroidx/collection/ArraySet;-><init>()V
iput-object p1, p0, Lcom/google/android/gms/common/api/internal/zaae;->zad:Landroidx/collection/ArraySet;
iput-object p2, p0, Lcom/google/android/gms/common/api/internal/zaae;->zae:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zaae;->mLifecycleFragment:Lcom/google/android/gms/common/api/internal/LifecycleFragment;
const-string p2, "ConnectionlessLifecycleHelper"
invoke-interface {p1, p2, p0}, Lcom/google/android/gms/common/api/internal/LifecycleFragment;->addCallback(Ljava/lang/String;Lcom/google/android/gms/common/api/internal/LifecycleCallback;)V
return-void
.end method
.method public static zad(Landroid/app/Activity;Lcom/google/android/gms/common/api/internal/GoogleApiManager;Lcom/google/android/gms/common/api/internal/ApiKey;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/app/Activity;",
"Lcom/google/android/gms/common/api/internal/GoogleApiManager;",
"Lcom/google/android/gms/common/api/internal/ApiKey<",
"*>;)V"
}
.end annotation
invoke-static {p0}, Lcom/google/android/gms/common/api/internal/zaae;->getFragment(Landroid/app/Activity;)Lcom/google/android/gms/common/api/internal/LifecycleFragment;
move-result-object p0
const-class v0, Lcom/google/android/gms/common/api/internal/zaae;
const-string v1, "ConnectionlessLifecycleHelper"
invoke-interface {p0, v1, v0}, Lcom/google/android/gms/common/api/internal/LifecycleFragment;->getCallbackOrNull(Ljava/lang/String;Ljava/lang/Class;)Lcom/google/android/gms/common/api/internal/LifecycleCallback;
move-result-object v0
check-cast v0, Lcom/google/android/gms/common/api/internal/zaae;
if-nez v0, :cond_0
new-instance v0, Lcom/google/android/gms/common/api/internal/zaae;
invoke-static {}, Lcom/google/android/gms/common/GoogleApiAvailability;->getInstance()Lcom/google/android/gms/common/GoogleApiAvailability;
move-result-object v1
invoke-direct {v0, p0, p1, v1}, Lcom/google/android/gms/common/api/internal/zaae;-><init>(Lcom/google/android/gms/common/api/internal/LifecycleFragment;Lcom/google/android/gms/common/api/internal/GoogleApiManager;Lcom/google/android/gms/common/GoogleApiAvailability;)V
:cond_0
const-string p0, "ApiKey cannot be null"
invoke-static {p2, p0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
iget-object p0, v0, Lcom/google/android/gms/common/api/internal/zaae;->zad:Landroidx/collection/ArraySet;
invoke-virtual {p0, p2}, Landroidx/collection/ArraySet;->add(Ljava/lang/Object;)Z
invoke-virtual {p1, v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaC(Lcom/google/android/gms/common/api/internal/zaae;)V
return-void
.end method
.method private final zae()V
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zaae;->zad:Landroidx/collection/ArraySet;
invoke-virtual {v0}, Landroidx/collection/ArraySet;->isEmpty()Z
move-result v0
if-nez v0, :cond_0
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zaae;->zae:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
invoke-virtual {v0, p0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaC(Lcom/google/android/gms/common/api/internal/zaae;)V
:cond_0
return-void
.end method
.method public final onResume()V
.locals 0
invoke-super {p0}, Lcom/google/android/gms/common/api/internal/zap;->onResume()V
invoke-direct {p0}, Lcom/google/android/gms/common/api/internal/zaae;->zae()V
return-void
.end method
.method public final onStart()V
.locals 0
invoke-super {p0}, Lcom/google/android/gms/common/api/internal/zap;->onStart()V
invoke-direct {p0}, Lcom/google/android/gms/common/api/internal/zaae;->zae()V
return-void
.end method
.method public final onStop()V
.locals 1
invoke-super {p0}, Lcom/google/android/gms/common/api/internal/zap;->onStop()V
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zaae;->zae:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
invoke-virtual {v0, p0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaD(Lcom/google/android/gms/common/api/internal/zaae;)V
return-void
.end method
.method final zaa()Landroidx/collection/ArraySet;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Landroidx/collection/ArraySet<",
"Lcom/google/android/gms/common/api/internal/ApiKey<",
"*>;>;"
}
.end annotation
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zaae;->zad:Landroidx/collection/ArraySet;
return-object v0
.end method
.method protected final zab(Lcom/google/android/gms/common/ConnectionResult;I)V
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zaae;->zae:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
invoke-virtual {v0, p1, p2}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaz(Lcom/google/android/gms/common/ConnectionResult;I)V
return-void
.end method
.method protected final zac()V
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zaae;->zae:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
invoke-virtual {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaA()V
return-void
.end method