2019-07-24 11:27:29 +00:00
|
|
|
.class final Lcom/crashlytics/android/answers/g;
|
|
|
|
.super Lio/fabric/sdk/android/a$b;
|
|
|
|
.source "AnswersLifecycleCallbacks.java"
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-10-03 02:31:26 +00:00
|
|
|
.field private final qX:Lcom/crashlytics/android/answers/ac;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
.field private final rr:Lcom/crashlytics/android/answers/k;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/crashlytics/android/answers/ac;Lcom/crashlytics/android/answers/k;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lio/fabric/sdk/android/a$b;-><init>()V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p1, p0, Lcom/crashlytics/android/answers/g;->qX:Lcom/crashlytics/android/answers/ac;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-object p2, p0, Lcom/crashlytics/android/answers/g;->rr:Lcom/crashlytics/android/answers/k;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final a(Landroid/app/Activity;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onActivityPaused(Landroid/app/Activity;)V
|
|
|
|
.locals 6
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/crashlytics/android/answers/g;->qX:Lcom/crashlytics/android/answers/ac;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
sget-object v1, Lcom/crashlytics/android/answers/ae$b;->sr:Lcom/crashlytics/android/answers/ae$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/crashlytics/android/answers/ac;->a(Landroid/app/Activity;Lcom/crashlytics/android/answers/ae$b;)V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object p1, p0, Lcom/crashlytics/android/answers/g;->rr:Lcom/crashlytics/android/answers/k;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-boolean v0, p1, Lcom/crashlytics/android/answers/k;->ry:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-boolean v0, p1, Lcom/crashlytics/android/answers/k;->rA:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-boolean v0, p1, Lcom/crashlytics/android/answers/k;->rA:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:try_start_0
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p1, Lcom/crashlytics/android/answers/k;->rz:Ljava/util/concurrent/atomic/AtomicReference;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v2, p1, Lcom/crashlytics/android/answers/k;->rx:Ljava/util/concurrent/ScheduledExecutorService;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v3, Lcom/crashlytics/android/answers/k$1;
|
|
|
|
|
|
|
|
invoke-direct {v3, p1}, Lcom/crashlytics/android/answers/k$1;-><init>(Lcom/crashlytics/android/answers/k;)V
|
|
|
|
|
|
|
|
const-wide/16 v4, 0x1388
|
|
|
|
|
|
|
|
sget-object p1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
|
|
|
|
invoke-interface {v2, v3, v4, v5, p1}, Ljava/util/concurrent/ScheduledExecutorService;->schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, p1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/util/concurrent/RejectedExecutionException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception p1
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-static {}, Lio/fabric/sdk/android/c;->CN()Lio/fabric/sdk/android/l;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "Answers"
|
|
|
|
|
|
|
|
const-string v2, "Failed to schedule background detector"
|
|
|
|
|
|
|
|
invoke-interface {v0, v1, v2, p1}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onActivityResumed(Landroid/app/Activity;)V
|
|
|
|
.locals 2
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/crashlytics/android/answers/g;->qX:Lcom/crashlytics/android/answers/ac;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
sget-object v1, Lcom/crashlytics/android/answers/ae$b;->sq:Lcom/crashlytics/android/answers/ae$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/crashlytics/android/answers/ac;->a(Landroid/app/Activity;Lcom/crashlytics/android/answers/ae$b;)V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object p1, p0, Lcom/crashlytics/android/answers/g;->rr:Lcom/crashlytics/android/answers/k;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iput-boolean v0, p1, Lcom/crashlytics/android/answers/k;->rA:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object p1, p1, Lcom/crashlytics/android/answers/k;->rz:Ljava/util/concurrent/atomic/AtomicReference;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p1, v1}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
check-cast p1, Ljava/util/concurrent/ScheduledFuture;
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {p1, v0}, Ljava/util/concurrent/ScheduledFuture;->cancel(Z)Z
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onActivityStarted(Landroid/app/Activity;)V
|
|
|
|
.locals 2
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/crashlytics/android/answers/g;->qX:Lcom/crashlytics/android/answers/ac;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
sget-object v1, Lcom/crashlytics/android/answers/ae$b;->sp:Lcom/crashlytics/android/answers/ae$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/crashlytics/android/answers/ac;->a(Landroid/app/Activity;Lcom/crashlytics/android/answers/ae$b;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onActivityStopped(Landroid/app/Activity;)V
|
|
|
|
.locals 2
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
iget-object v0, p0, Lcom/crashlytics/android/answers/g;->qX:Lcom/crashlytics/android/answers/ac;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
sget-object v1, Lcom/crashlytics/android/answers/ae$b;->ss:Lcom/crashlytics/android/answers/ae$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/crashlytics/android/answers/ac;->a(Landroid/app/Activity;Lcom/crashlytics/android/answers/ae$b;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|