2019-07-24 11:27:29 +00:00
|
|
|
.class final synthetic Lcom/google/firebase/iid/b;
|
|
|
|
.super Ljava/lang/Object;
|
2019-10-07 23:23:22 +00:00
|
|
|
.source "com.google.firebase:firebase-iid@@20.0.0"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-03 21:42:56 +00:00
|
|
|
.field private final aRH:Lcom/google/firebase/iid/ba;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-10-07 23:23:22 +00:00
|
|
|
.method constructor <init>(Lcom/google/firebase/iid/ba;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iput-object p1, p0, Lcom/google/firebase/iid/b;->aRH:Lcom/google/firebase/iid/ba;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final run()V
|
|
|
|
.locals 8
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v0, p0, Lcom/google/firebase/iid/b;->aRH:Lcom/google/firebase/iid/ba;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-07 23:23:22 +00:00
|
|
|
iget v1, v0, Lcom/google/firebase/iid/ba;->zza:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v1, v0, Lcom/google/firebase/iid/ba;->aSh:Ljava/util/Queue;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/Queue;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
invoke-virtual {v0}, Lcom/google/firebase/iid/ba;->pI()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v1, v0, Lcom/google/firebase/iid/ba;->aSh:Ljava/util/Queue;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/Queue;->poll()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
check-cast v1, Lcom/google/firebase/iid/i;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v3, v0, Lcom/google/firebase/iid/ba;->aSA:Landroid/util/SparseArray;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget v4, v1, Lcom/google/firebase/iid/i;->zza:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v3, v4, v1}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v3, v0, Lcom/google/firebase/iid/ba;->aSB:Lcom/google/firebase/iid/az;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v3, v3, Lcom/google/firebase/iid/az;->aRv:Ljava/util/concurrent/ScheduledExecutorService;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
new-instance v4, Lcom/google/firebase/iid/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
invoke-direct {v4, v0, v1}, Lcom/google/firebase/iid/d;-><init>(Lcom/google/firebase/iid/ba;Lcom/google/firebase/iid/i;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-wide/16 v5, 0x1e
|
|
|
|
|
|
|
|
sget-object v7, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
|
|
|
|
invoke-interface {v3, v4, v5, v6, v7}, Ljava/util/concurrent/ScheduledExecutorService;->schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
const/4 v3, 0x3
|
|
|
|
|
|
|
|
const-string v4, "MessengerIpcClient"
|
|
|
|
|
|
|
|
invoke-static {v4, v3}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
|
|
|
|
invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
add-int/lit8 v4, v4, 0x8
|
|
|
|
|
|
|
|
new-instance v5, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v5, v4}, Ljava/lang/StringBuilder;-><init>(I)V
|
|
|
|
|
|
|
|
const-string v4, "Sending "
|
|
|
|
|
|
|
|
invoke-virtual {v5, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const-string v4, "MessengerIpcClient"
|
|
|
|
|
|
|
|
invoke-static {v4, v3}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
:cond_2
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v3, v0, Lcom/google/firebase/iid/ba;->aSB:Lcom/google/firebase/iid/az;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v3, v3, Lcom/google/firebase/iid/az;->atO:Landroid/content/Context;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v4, v0, Lcom/google/firebase/iid/ba;->aSy:Landroid/os/Messenger;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {}, Landroid/os/Message;->obtain()Landroid/os/Message;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget v6, v1, Lcom/google/firebase/iid/i;->zzc:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iput v6, v5, Landroid/os/Message;->what:I
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
iget v6, v1, Lcom/google/firebase/iid/i;->zza:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iput v6, v5, Landroid/os/Message;->arg1:I
|
|
|
|
|
|
|
|
iput-object v4, v5, Landroid/os/Message;->replyTo:Landroid/os/Messenger;
|
|
|
|
|
|
|
|
new-instance v4, Landroid/os/Bundle;
|
|
|
|
|
|
|
|
invoke-direct {v4}, Landroid/os/Bundle;-><init>()V
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
invoke-virtual {v1}, Lcom/google/firebase/iid/i;->pJ()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
const-string v7, "oneWay"
|
|
|
|
|
|
|
|
invoke-virtual {v4, v7, v6}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const-string v6, "pkg"
|
|
|
|
|
|
|
|
invoke-virtual {v4, v6, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v1, v1, Lcom/google/firebase/iid/i;->asQ:Landroid/os/Bundle;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string v3, "data"
|
|
|
|
|
|
|
|
invoke-virtual {v4, v3, v1}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
|
|
|
|
|
|
|
|
invoke-virtual {v5, v4}, Landroid/os/Message;->setData(Landroid/os/Bundle;)V
|
|
|
|
|
|
|
|
:try_start_1
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v1, v0, Lcom/google/firebase/iid/ba;->aSz:Lcom/google/firebase/iid/g;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v3, v1, Lcom/google/firebase/iid/g;->aRJ:Landroid/os/Messenger;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_3
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v1, v1, Lcom/google/firebase/iid/g;->aRJ:Landroid/os/Messenger;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, v5}, Landroid/os/Messenger;->send(Landroid/os/Message;)V
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v3, v1, Lcom/google/firebase/iid/g;->aRK:Lcom/google/firebase/iid/zzf;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_4
|
|
|
|
|
2019-12-03 21:42:56 +00:00
|
|
|
iget-object v1, v1, Lcom/google/firebase/iid/g;->aRK:Lcom/google/firebase/iid/zzf;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
invoke-virtual {v1, v5}, Lcom/google/firebase/iid/zzf;->a(Landroid/os/Message;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
new-instance v1, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v3, "Both messengers are null"
|
|
|
|
|
|
|
|
invoke-direct {v1, v3}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
:try_end_1
|
|
|
|
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/os/RemoteException;->getMessage()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
invoke-virtual {v0, v2, v1}, Lcom/google/firebase/iid/ba;->c(ILjava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
:try_start_2
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|