93 lines
2.5 KiB
Smali
93 lines
2.5 KiB
Smali
.class final Lcom/google/firebase/iid/af;
|
|
.super Ljava/lang/Object;
|
|
|
|
|
|
# instance fields
|
|
.field private final aQC:Landroid/content/BroadcastReceiver$PendingResult;
|
|
|
|
.field private final aQD:Ljava/util/concurrent/ScheduledFuture;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/ScheduledFuture<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private agU:Z
|
|
|
|
.field final intent:Landroid/content/Intent;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroid/content/Intent;Landroid/content/BroadcastReceiver$PendingResult;Ljava/util/concurrent/ScheduledExecutorService;)V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Lcom/google/firebase/iid/af;->agU:Z
|
|
|
|
iput-object p1, p0, Lcom/google/firebase/iid/af;->intent:Landroid/content/Intent;
|
|
|
|
iput-object p2, p0, Lcom/google/firebase/iid/af;->aQC:Landroid/content/BroadcastReceiver$PendingResult;
|
|
|
|
new-instance p2, Lcom/google/firebase/iid/ae;
|
|
|
|
invoke-direct {p2, p0, p1}, Lcom/google/firebase/iid/ae;-><init>(Lcom/google/firebase/iid/af;Landroid/content/Intent;)V
|
|
|
|
sget-object p1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
const-wide/16 v0, 0x2328
|
|
|
|
invoke-interface {p3, p2, v0, v1, p1}, Ljava/util/concurrent/ScheduledExecutorService;->schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/google/firebase/iid/af;->aQD:Ljava/util/concurrent/ScheduledFuture;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method final declared-synchronized finish()V
|
|
.locals 2
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iget-boolean v0, p0, Lcom/google/firebase/iid/af;->agU:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/iid/af;->aQC:Landroid/content/BroadcastReceiver$PendingResult;
|
|
|
|
invoke-virtual {v0}, Landroid/content/BroadcastReceiver$PendingResult;->finish()V
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/iid/af;->aQD:Ljava/util/concurrent/ScheduledFuture;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/concurrent/ScheduledFuture;->cancel(Z)Z
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lcom/google/firebase/iid/af;->agU:Z
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
:cond_0
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
monitor-exit p0
|
|
|
|
throw v0
|
|
.end method
|