apkfuckery/com.discord/smali_classes2/com/google/firebase/iid/ag.smali
2019-12-03 22:42:56 +01:00

94 lines
2.5 KiB
Smali

.class final Lcom/google/firebase/iid/ag;
.super Ljava/lang/Object;
.source "com.google.firebase:firebase-iid@@20.0.0"
# instance fields
.field final aSj:Landroid/content/Intent;
.field private final aSk:Landroid/content/BroadcastReceiver$PendingResult;
.field private final aSl:Ljava/util/concurrent/ScheduledFuture;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/ScheduledFuture<",
"*>;"
}
.end annotation
.end field
.field private asL:Z
# 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/ag;->asL:Z
iput-object p1, p0, Lcom/google/firebase/iid/ag;->aSj:Landroid/content/Intent;
iput-object p2, p0, Lcom/google/firebase/iid/ag;->aSk:Landroid/content/BroadcastReceiver$PendingResult;
new-instance p2, Lcom/google/firebase/iid/af;
invoke-direct {p2, p0, p1}, Lcom/google/firebase/iid/af;-><init>(Lcom/google/firebase/iid/ag;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/ag;->aSl:Ljava/util/concurrent/ScheduledFuture;
return-void
.end method
# virtual methods
.method final declared-synchronized zza()V
.locals 2
monitor-enter p0
:try_start_0
iget-boolean v0, p0, Lcom/google/firebase/iid/ag;->asL:Z
if-nez v0, :cond_0
iget-object v0, p0, Lcom/google/firebase/iid/ag;->aSk:Landroid/content/BroadcastReceiver$PendingResult;
invoke-virtual {v0}, Landroid/content/BroadcastReceiver$PendingResult;->finish()V
iget-object v0, p0, Lcom/google/firebase/iid/ag;->aSl: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/ag;->asL: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