LifecycleCallback.smali
.class public Lcom/google/android/gms/common/api/internal/LifecycleCallback;
.super Ljava/lang/Object;
# annotations
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
# instance fields
.field public final mLifecycleFragment:Lcom/google/android/gms/common/api/internal/LifecycleFragment;
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Lcom/google/android/gms/common/api/internal/LifecycleFragment;)V
.registers 2
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/google/android/gms/common/api/internal/LifecycleCallback;->mLifecycleFragment:Lcom/google/android/gms/common/api/internal/LifecycleFragment;
return-void
.end method
.method public static getChimeraLifecycleFragmentImpl(Lcom/google/android/gms/common/api/internal/LifecycleActivity;)Lcom/google/android/gms/common/api/internal/LifecycleFragment;
.registers 2
.annotation build Landroidx/annotation/Keep;
.end annotation
new-instance p0, Ljava/lang/IllegalStateException;
const-string v0, "Method not available in SDK."
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static getFragment(Landroid/app/Activity;)Lcom/google/android/gms/common/api/internal/LifecycleFragment;
.registers 2
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
new-instance v0, Lcom/google/android/gms/common/api/internal/LifecycleActivity;
invoke-direct {v0, p0}, Lcom/google/android/gms/common/api/internal/LifecycleActivity;-><init>(Landroid/app/Activity;)V
invoke-static {v0}, Lcom/google/android/gms/common/api/internal/LifecycleCallback;->getFragment(Lcom/google/android/gms/common/api/internal/LifecycleActivity;)Lcom/google/android/gms/common/api/internal/LifecycleFragment;
move-result-object p0
return-object p0
.end method
.method public static getFragment(Landroid/content/ContextWrapper;)Lcom/google/android/gms/common/api/internal/LifecycleFragment;
.registers 1
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
new-instance p0, Ljava/lang/UnsupportedOperationException;
invoke-direct {p0}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p0
.end method
.method public static getFragment(Lcom/google/android/gms/common/api/internal/LifecycleActivity;)Lcom/google/android/gms/common/api/internal/LifecycleFragment;
.registers 2
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
invoke-virtual {p0}, Lcom/google/android/gms/common/api/internal/LifecycleActivity;->isSupport()Z
move-result v0
if-eqz v0, :cond_f
invoke-virtual {p0}, Lcom/google/android/gms/common/api/internal/LifecycleActivity;->asFragmentActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object p0
invoke-static {p0}, Lcom/google/android/gms/common/api/internal/zzc;->zza(Landroidx/fragment/app/FragmentActivity;)Lcom/google/android/gms/common/api/internal/zzc;
move-result-object p0
return-object p0
:cond_f
invoke-virtual {p0}, Lcom/google/android/gms/common/api/internal/LifecycleActivity;->zzh()Z
move-result v0
if-eqz v0, :cond_1e
invoke-virtual {p0}, Lcom/google/android/gms/common/api/internal/LifecycleActivity;->asActivity()Landroid/app/Activity;
move-result-object p0
invoke-static {p0}, Lcom/google/android/gms/common/api/internal/zza;->zza(Landroid/app/Activity;)Lcom/google/android/gms/common/api/internal/zza;
move-result-object p0
return-object p0
:cond_1e
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "Can\'t get fragment for unexpected activity."
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
# virtual methods
.method public dump(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
.registers 5
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
return-void
.end method
.method public getActivity()Landroid/app/Activity;
.registers 2
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/LifecycleCallback;->mLifecycleFragment:Lcom/google/android/gms/common/api/internal/LifecycleFragment;
invoke-interface {v0}, Lcom/google/android/gms/common/api/internal/LifecycleFragment;->getLifecycleActivity()Landroid/app/Activity;
move-result-object v0
return-object v0
.end method
.method public onActivityResult(IILandroid/content/Intent;)V
.registers 4
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
return-void
.end method
.method public onCreate(Landroid/os/Bundle;)V
.registers 2
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
return-void
.end method
.method public onDestroy()V
.registers 1
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
return-void
.end method
.method public onResume()V
.registers 1
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
return-void
.end method
.method public onSaveInstanceState(Landroid/os/Bundle;)V
.registers 2
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
return-void
.end method
.method public onStart()V
.registers 1
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
return-void
.end method
.method public onStop()V
.registers 1
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
return-void
.end method