228 lines
6.4 KiB
Smali
228 lines
6.4 KiB
Smali
.class public final Lcom/google/firebase/analytics/FirebaseAnalytics;
|
|
.super Ljava/lang/Object;
|
|
.source "com.google.android.gms:play-services-measurement-api@@17.4.4"
|
|
|
|
|
|
# static fields
|
|
.field public static volatile b:Lcom/google/firebase/analytics/FirebaseAnalytics;
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lf/h/a/f/h/k/g;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lf/h/a/f/h/k/g;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
invoke-static {p1}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iput-object p1, p0, Lcom/google/firebase/analytics/FirebaseAnalytics;->a:Lf/h/a/f/h/k/g;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static getInstance(Landroid/content/Context;)Lcom/google/firebase/analytics/FirebaseAnalytics;
|
|
.locals 2
|
|
.param p0 # Landroid/content/Context;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RequiresPermission;
|
|
allOf = {
|
|
"android.permission.INTERNET",
|
|
"android.permission.ACCESS_NETWORK_STATE",
|
|
"android.permission.WAKE_LOCK"
|
|
}
|
|
.end annotation
|
|
|
|
sget-object v0, Lcom/google/firebase/analytics/FirebaseAnalytics;->b:Lcom/google/firebase/analytics/FirebaseAnalytics;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const-class v0, Lcom/google/firebase/analytics/FirebaseAnalytics;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
sget-object v1, Lcom/google/firebase/analytics/FirebaseAnalytics;->b:Lcom/google/firebase/analytics/FirebaseAnalytics;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-static {p0, v1, v1, v1, v1}, Lf/h/a/f/h/k/g;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Lf/h/a/f/h/k/g;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance v1, Lcom/google/firebase/analytics/FirebaseAnalytics;
|
|
|
|
invoke-direct {v1, p0}, Lcom/google/firebase/analytics/FirebaseAnalytics;-><init>(Lf/h/a/f/h/k/g;)V
|
|
|
|
sput-object v1, Lcom/google/firebase/analytics/FirebaseAnalytics;->b:Lcom/google/firebase/analytics/FirebaseAnalytics;
|
|
|
|
:cond_0
|
|
monitor-exit v0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
sget-object p0, Lcom/google/firebase/analytics/FirebaseAnalytics;->b:Lcom/google/firebase/analytics/FirebaseAnalytics;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static getScionFrontendApiImplementation(Landroid/content/Context;Landroid/os/Bundle;)Lf/h/a/f/i/b/g7;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-static {p0, v0, v0, v0, p1}, Lf/h/a/f/h/k/g;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Lf/h/a/f/h/k/g;
|
|
|
|
move-result-object p0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
new-instance p1, Lf/h/c/g/b;
|
|
|
|
invoke-direct {p1, p0}, Lf/h/c/g/b;-><init>(Lf/h/a/f/h/k/g;)V
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getFirebaseInstanceId()Ljava/lang/String;
|
|
.locals 4
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
:try_start_0
|
|
invoke-static {}, Lf/h/c/r/f;->f()Lf/h/c/r/f;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lf/h/c/r/f;->getId()Lcom/google/android/gms/tasks/Task;
|
|
|
|
move-result-object v0
|
|
|
|
const-wide/16 v1, 0x7530
|
|
|
|
sget-object v3, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
invoke-static {v0, v1, v2, v3}, Lf/h/a/c/i1/e;->h(Lcom/google/android/gms/tasks/Task;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
:try_end_0
|
|
.catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_0} :catch_2
|
|
.catch Ljava/util/concurrent/TimeoutException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object v0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
new-instance v1, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw v1
|
|
|
|
:catch_1
|
|
new-instance v0, Ljava/lang/IllegalThreadStateException;
|
|
|
|
const-string v1, "Firebase Installations getId Task has timed out."
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalThreadStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:catch_2
|
|
move-exception v0
|
|
|
|
new-instance v1, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/ExecutionException;->getCause()Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final setCurrentScreen(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 2
|
|
.param p1 # Landroid/app/Activity;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/Size;
|
|
max = 0x24L
|
|
min = 0x1L
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/Size;
|
|
max = 0x24L
|
|
min = 0x1L
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/MainThread;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/analytics/FirebaseAnalytics;->a:Lf/h/a/f/h/k/g;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
new-instance v1, Lf/h/a/f/h/k/m;
|
|
|
|
invoke-direct {v1, v0, p1, p2, p3}, Lf/h/a/f/h/k/m;-><init>(Lf/h/a/f/h/k/g;Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget-object p1, v0, Lf/h/a/f/h/k/g;->c:Ljava/util/concurrent/ExecutorService;
|
|
|
|
invoke-interface {p1, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|