204 lines
4.6 KiB
Smali
204 lines
4.6 KiB
Smali
.class final Lcom/google/firebase/b$c;
|
|
.super Ljava/lang/Object;
|
|
.source "com.google.firebase:firebase-common@@16.0.2"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/android/gms/common/api/internal/b$a;
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroid/annotation/TargetApi;
|
|
value = 0xe
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/firebase/b;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x8
|
|
name = "c"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static a:Ljava/util/concurrent/atomic/AtomicReference;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/atomic/AtomicReference<",
|
|
"Lcom/google/firebase/b$c;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 938
|
|
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
|
|
|
|
sput-object v0, Lcom/google/firebase/b$c;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 935
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Landroid/content/Context;)V
|
|
.locals 3
|
|
|
|
.line 1942
|
|
invoke-static {}, Lcom/google/android/gms/common/util/o;->b()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 1943
|
|
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
instance-of v0, v0, Landroid/app/Application;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 1946
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroid/app/Application;
|
|
|
|
.line 1947
|
|
sget-object v0, Lcom/google/firebase/b$c;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 1948
|
|
new-instance v0, Lcom/google/firebase/b$c;
|
|
|
|
invoke-direct {v0}, Lcom/google/firebase/b$c;-><init>()V
|
|
|
|
.line 1949
|
|
sget-object v1, Lcom/google/firebase/b$c;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {v1, v2, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 1950
|
|
invoke-static {p0}, Lcom/google/android/gms/common/api/internal/b;->a(Landroid/app/Application;)V
|
|
|
|
.line 1951
|
|
invoke-static {}, Lcom/google/android/gms/common/api/internal/b;->a()Lcom/google/android/gms/common/api/internal/b;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0, v0}, Lcom/google/android/gms/common/api/internal/b;->a(Lcom/google/android/gms/common/api/internal/b$a;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
|
|
:cond_2
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Z)V
|
|
.locals 4
|
|
|
|
.line 958
|
|
invoke-static {}, Lcom/google/firebase/b;->g()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
monitor-enter v0
|
|
|
|
.line 959
|
|
:try_start_0
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
sget-object v2, Lcom/google/firebase/b;->a:Ljava/util/Map;
|
|
|
|
invoke-interface {v2}, Ljava/util/Map;->values()Ljava/util/Collection;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v1
|
|
|
|
:cond_0
|
|
:goto_0
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Lcom/google/firebase/b;
|
|
|
|
.line 960
|
|
invoke-static {v2}, Lcom/google/firebase/b;->b(Lcom/google/firebase/b;)Ljava/util/concurrent/atomic/AtomicBoolean;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 961
|
|
invoke-static {v2, p1}, Lcom/google/firebase/b;->a(Lcom/google/firebase/b;Z)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 964
|
|
:cond_1
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|