2019-07-24 11:27:29 +00:00
|
|
|
.class final Lcom/crashlytics/android/answers/e$4;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "AnswersEventsHandler.java"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/crashlytics/android/answers/e;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x0
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-07-31 00:08:31 +00:00
|
|
|
.field final synthetic pb:Lcom/crashlytics/android/answers/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lcom/crashlytics/android/answers/e;)V
|
|
|
|
.locals 0
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iput-object p1, p0, Lcom/crashlytics/android/answers/e$4;->pb:Lcom/crashlytics/android/answers/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final run()V
|
|
|
|
.locals 21
|
|
|
|
|
|
|
|
move-object/from16 v1, p0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v0, v1, Lcom/crashlytics/android/answers/e$4;->pb:Lcom/crashlytics/android/answers/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v0, v0, Lcom/crashlytics/android/answers/e;->oU:Lcom/crashlytics/android/answers/ah;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v2, v0, Lcom/crashlytics/android/answers/ah;->qv:Lio/fabric/sdk/android/a/b/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
invoke-virtual {v2}, Lio/fabric/sdk/android/a/b/s;->cg()Ljava/util/Map;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v3, v0, Lcom/crashlytics/android/answers/ah;->qv:Lio/fabric/sdk/android/a/b/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-01 23:08:43 +00:00
|
|
|
iget-object v5, v3, Lio/fabric/sdk/android/a/b/s;->beB:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v3, v0, Lcom/crashlytics/android/answers/ah;->qv:Lio/fabric/sdk/android/a/b/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-01 02:26:13 +00:00
|
|
|
invoke-virtual {v3}, Lio/fabric/sdk/android/a/b/s;->CZ()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v3, v0, Lcom/crashlytics/android/answers/ah;->qv:Lio/fabric/sdk/android/a/b/s;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-01 23:08:43 +00:00
|
|
|
iget-boolean v4, v3, Lio/fabric/sdk/android/a/b/s;->bfR:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v4, v3, Lio/fabric/sdk/android/a/b/s;->mN:Landroid/content/Context;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v4}, Lio/fabric/sdk/android/a/b/r;->bd(Landroid/content/Context;)Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
|
2019-08-01 02:26:13 +00:00
|
|
|
invoke-virtual {v3}, Lio/fabric/sdk/android/a/b/s;->CS()Lio/fabric/sdk/android/a/b/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
|
2019-08-01 23:08:43 +00:00
|
|
|
iget-boolean v3, v3, Lio/fabric/sdk/android/a/b/b;->beV:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move-object v8, v6
|
|
|
|
|
2019-08-01 23:08:43 +00:00
|
|
|
sget-object v3, Lio/fabric/sdk/android/a/b/s$a;->bfZ:Lio/fabric/sdk/android/a/b/s$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v2, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
move-object v9, v2
|
|
|
|
|
|
|
|
check-cast v9, Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v2, v0, Lcom/crashlytics/android/answers/ah;->context:Landroid/content/Context;
|
|
|
|
|
|
|
|
invoke-static {v2}, Lio/fabric/sdk/android/a/b/i;->aY(Landroid/content/Context;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v10
|
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
sget-object v3, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-static {v3}, Lio/fabric/sdk/android/a/b/s;->dH(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v3, "/"
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
sget-object v3, Landroid/os/Build$VERSION;->INCREMENTAL:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-static {v3}, Lio/fabric/sdk/android/a/b/s;->dH(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v11
|
|
|
|
|
2019-08-01 02:26:13 +00:00
|
|
|
invoke-static {}, Lio/fabric/sdk/android/a/b/s;->Da()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v12
|
|
|
|
|
|
|
|
invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/util/UUID;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
new-instance v19, Lcom/crashlytics/android/answers/af;
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v13, v0, Lcom/crashlytics/android/answers/ah;->qw:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v14, v0, Lcom/crashlytics/android/answers/ah;->versionName:Ljava/lang/String;
|
|
|
|
|
|
|
|
move-object/from16 v4, v19
|
|
|
|
|
|
|
|
invoke-direct/range {v4 .. v14}, Lcom/crashlytics/android/answers/af;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v0, v1, Lcom/crashlytics/android/answers/e$4;->pb:Lcom/crashlytics/android/answers/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v0, v0, Lcom/crashlytics/android/answers/e;->oT:Lcom/crashlytics/android/answers/f;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
if-eq v2, v3, :cond_2
|
|
|
|
|
|
|
|
new-instance v2, Lcom/crashlytics/android/answers/ag;
|
|
|
|
|
|
|
|
invoke-direct {v2}, Lcom/crashlytics/android/answers/ag;-><init>()V
|
|
|
|
|
|
|
|
new-instance v3, Lio/fabric/sdk/android/a/b/w;
|
|
|
|
|
|
|
|
invoke-direct {v3}, Lio/fabric/sdk/android/a/b/w;-><init>()V
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v4, v0, Lcom/crashlytics/android/answers/f;->pe:Lio/fabric/sdk/android/a/f/a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v4}, Lio/fabric/sdk/android/a/f/a;->getFilesDir()Ljava/io/File;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
new-instance v5, Lio/fabric/sdk/android/a/d/g;
|
|
|
|
|
|
|
|
iget-object v6, v0, Lcom/crashlytics/android/answers/f;->context:Landroid/content/Context;
|
|
|
|
|
|
|
|
const-string v7, "session_analytics.tap"
|
|
|
|
|
|
|
|
const-string v8, "session_analytics_to_send"
|
|
|
|
|
|
|
|
invoke-direct {v5, v6, v4, v7, v8}, Lio/fabric/sdk/android/a/d/g;-><init>(Landroid/content/Context;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
new-instance v4, Lcom/crashlytics/android/answers/aa;
|
|
|
|
|
|
|
|
iget-object v0, v0, Lcom/crashlytics/android/answers/f;->context:Landroid/content/Context;
|
|
|
|
|
|
|
|
invoke-direct {v4, v0, v2, v3, v5}, Lcom/crashlytics/android/answers/aa;-><init>(Landroid/content/Context;Lcom/crashlytics/android/answers/ag;Lio/fabric/sdk/android/a/b/k;Lio/fabric/sdk/android/a/d/c;)V
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v0, v1, Lcom/crashlytics/android/answers/e$4;->pb:Lcom/crashlytics/android/answers/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v4, v0}, Lcom/crashlytics/android/answers/aa;->a(Lio/fabric/sdk/android/a/d/d;)V
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v0, v1, Lcom/crashlytics/android/answers/e$4;->pb:Lcom/crashlytics/android/answers/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v2, Lcom/crashlytics/android/answers/n;
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v3, v1, Lcom/crashlytics/android/answers/e$4;->pb:Lcom/crashlytics/android/answers/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v14, v3, Lcom/crashlytics/android/answers/e;->oS:Lio/fabric/sdk/android/i;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v3, v1, Lcom/crashlytics/android/answers/e$4;->pb:Lcom/crashlytics/android/answers/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object v15, v3, Lcom/crashlytics/android/answers/e;->context:Landroid/content/Context;
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v3, v1, Lcom/crashlytics/android/answers/e$4;->pb:Lcom/crashlytics/android/answers/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v3, v3, Lcom/crashlytics/android/answers/e;->oX:Ljava/util/concurrent/ScheduledExecutorService;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v5, v1, Lcom/crashlytics/android/answers/e$4;->pb:Lcom/crashlytics/android/answers/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v5, v5, Lcom/crashlytics/android/answers/e;->oV:Lio/fabric/sdk/android/a/e/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v6, v1, Lcom/crashlytics/android/answers/e$4;->pb:Lcom/crashlytics/android/answers/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iget-object v6, v6, Lcom/crashlytics/android/answers/e;->oW:Lcom/crashlytics/android/answers/q;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-object v13, v2
|
|
|
|
|
|
|
|
move-object/from16 v16, v3
|
|
|
|
|
|
|
|
move-object/from16 v17, v4
|
|
|
|
|
|
|
|
move-object/from16 v18, v5
|
|
|
|
|
|
|
|
move-object/from16 v20, v6
|
|
|
|
|
|
|
|
invoke-direct/range {v13 .. v20}, Lcom/crashlytics/android/answers/n;-><init>(Lio/fabric/sdk/android/i;Landroid/content/Context;Ljava/util/concurrent/ScheduledExecutorService;Lcom/crashlytics/android/answers/aa;Lio/fabric/sdk/android/a/e/e;Lcom/crashlytics/android/answers/af;Lcom/crashlytics/android/answers/q;)V
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
iput-object v2, v0, Lcom/crashlytics/android/answers/e;->oY:Lcom/crashlytics/android/answers/ad;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v2, "AnswersFilesManagerProvider cannot be called on the main thread"
|
|
|
|
|
|
|
|
invoke-direct {v0, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v0
|
|
|
|
|
2019-08-01 02:26:13 +00:00
|
|
|
invoke-static {}, Lio/fabric/sdk/android/c;->CC()Lio/fabric/sdk/android/l;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const-string v3, "Answers"
|
|
|
|
|
|
|
|
const-string v4, "Failed to enable events"
|
|
|
|
|
|
|
|
invoke-interface {v2, v3, v4, v0}, Lio/fabric/sdk/android/l;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|