2019-12-06 03:29:40 +00:00
|
|
|
.class public Le/h/a/c/n;
|
2019-07-24 11:27:29 +00:00
|
|
|
.super Ljava/lang/Object;
|
2020-02-20 19:33:18 +00:00
|
|
|
.source "FirebaseAnalyticsApiAdapter.java"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final a:Landroid/content/Context;
|
|
|
|
|
|
|
|
.field public final b:Le/h/a/c/p;
|
|
|
|
|
|
|
|
.field public c:Le/h/a/c/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-02-20 19:33:18 +00:00
|
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
new-instance v0, Le/h/a/c/p;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Le/h/a/c/p;-><init>()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
iput-object p1, p0, Le/h/a/c/n;->a:Landroid/content/Context;
|
|
|
|
|
|
|
|
iput-object v0, p0, Le/h/a/c/n;->b:Le/h/a/c/p;
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-02-20 19:33:18 +00:00
|
|
|
.method public a(Le/h/a/c/z;)V
|
|
|
|
.locals 6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
iget-object v0, p0, Le/h/a/c/n;->c:Le/h/a/c/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
if-nez v0, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
iget-object v0, p0, Le/h/a/c/n;->a:Landroid/content/Context;
|
|
|
|
|
|
|
|
invoke-static {v0}, Le/h/a/c/h;->a(Landroid/content/Context;)Le/h/a/c/h;
|
|
|
|
|
|
|
|
move-result-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
iput-object v0, p0, Le/h/a/c/n;->c:Le/h/a/c/h;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
:cond_0
|
|
|
|
iget-object v0, p0, Le/h/a/c/n;->c:Le/h/a/c/h;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x3
|
|
|
|
|
|
|
|
const-string v3, "Answers"
|
|
|
|
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
|
|
|
invoke-static {}, Lt/a/a/a/f;->a()Lt/a/a/a/c;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p1, v3, v2}, Lt/a/a/a/c;->a(Ljava/lang/String;I)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
const-string p1, "Firebase analytics logging was enabled, but not available..."
|
|
|
|
|
|
|
|
invoke-static {v3, p1, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
|
|
|
|
:cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
return-void
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
:cond_2
|
|
|
|
iget-object v4, p0, Le/h/a/c/n;->b:Le/h/a/c/p;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-virtual {v4, p1}, Le/h/a/c/p;->a(Le/h/a/c/z;)Le/h/a/c/o;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
if-nez v4, :cond_4
|
|
|
|
|
|
|
|
invoke-static {}, Lt/a/a/a/f;->a()Lt/a/a/a/c;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
const-string v5, "Fabric event was not mappable to Firebase event: "
|
|
|
|
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3, v2}, Lt/a/a/a/c;->a(Ljava/lang/String;I)Z
|
|
|
|
|
|
|
|
move-result v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
if-eqz v0, :cond_3
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v3, p1, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
|
|
|
|
:cond_3
|
2019-12-06 03:29:40 +00:00
|
|
|
return-void
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
:cond_4
|
|
|
|
iget-object v1, v4, Le/h/a/c/o;->a:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v2, v4, Le/h/a/c/o;->b:Landroid/os/Bundle;
|
|
|
|
|
|
|
|
const-string v3, "fab"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3, v1, v2}, Le/h/a/c/h;->a(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V
|
|
|
|
|
|
|
|
iget-object p1, p1, Le/h/a/c/z;->g:Ljava/lang/String;
|
|
|
|
|
|
|
|
const-string v1, "levelEnd"
|
|
|
|
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
|
|
|
|
iget-object p1, v4, Le/h/a/c/o;->b:Landroid/os/Bundle;
|
|
|
|
|
|
|
|
const-string v1, "post_score"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3, v1, p1}, Le/h/a/c/h;->a(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
:cond_5
|
2019-07-24 11:27:29 +00:00
|
|
|
return-void
|
|
|
|
.end method
|