177 lines
5 KiB
Smali
177 lines
5 KiB
Smali
.class public Lcom/google/firebase/messaging/FirebaseMessaging;
|
|
.super Ljava/lang/Object;
|
|
.source "com.google.firebase:firebase-messaging@@20.2.4"
|
|
|
|
|
|
# static fields
|
|
.field public static d:Lf/h/a/b/g;
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"FirebaseUnknownNullness"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/VisibleForTesting;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Landroid/content/Context;
|
|
|
|
.field public final b:Lcom/google/firebase/iid/FirebaseInstanceId;
|
|
|
|
.field public final c:Lcom/google/android/gms/tasks/Task;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/google/android/gms/tasks/Task<",
|
|
"Lf/h/c/t/u;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lf/h/c/c;Lcom/google/firebase/iid/FirebaseInstanceId;Lf/h/c/v/f;Lf/h/c/o/c;Lf/h/c/r/g;Lf/h/a/b/g;)V
|
|
.locals 8
|
|
.param p6 # Lf/h/a/b/g;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
sput-object p6, Lcom/google/firebase/messaging/FirebaseMessaging;->d:Lf/h/a/b/g;
|
|
|
|
iput-object p2, p0, Lcom/google/firebase/messaging/FirebaseMessaging;->b:Lcom/google/firebase/iid/FirebaseInstanceId;
|
|
|
|
invoke-virtual {p1}, Lf/h/c/c;->a()V
|
|
|
|
iget-object p6, p1, Lf/h/c/c;->a:Landroid/content/Context;
|
|
|
|
iput-object p6, p0, Lcom/google/firebase/messaging/FirebaseMessaging;->a:Landroid/content/Context;
|
|
|
|
new-instance v2, Lf/h/c/p/b0;
|
|
|
|
invoke-direct {v2, p6}, Lf/h/c/p/b0;-><init>(Landroid/content/Context;)V
|
|
|
|
iget-object v6, p0, Lcom/google/firebase/messaging/FirebaseMessaging;->a:Landroid/content/Context;
|
|
|
|
new-instance v7, Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
new-instance p6, Lf/h/a/f/e/n/j/a;
|
|
|
|
const-string v0, "Firebase-Messaging-Topics-Io"
|
|
|
|
invoke-direct {p6, v0}, Lf/h/a/f/e/n/j/a;-><init>(Ljava/lang/String;)V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-direct {v7, v0, p6}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;-><init>(ILjava/util/concurrent/ThreadFactory;)V
|
|
|
|
move-object v0, p1
|
|
|
|
move-object v1, p2
|
|
|
|
move-object v3, p3
|
|
|
|
move-object v4, p4
|
|
|
|
move-object v5, p5
|
|
|
|
invoke-static/range {v0 .. v7}, Lf/h/c/t/u;->d(Lf/h/c/c;Lcom/google/firebase/iid/FirebaseInstanceId;Lf/h/c/p/b0;Lf/h/c/v/f;Lf/h/c/o/c;Lf/h/c/r/g;Landroid/content/Context;Ljava/util/concurrent/ScheduledExecutorService;)Lcom/google/android/gms/tasks/Task;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/google/firebase/messaging/FirebaseMessaging;->c:Lcom/google/android/gms/tasks/Task;
|
|
|
|
new-instance p2, Ljava/util/concurrent/ThreadPoolExecutor;
|
|
|
|
sget-object v5, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
new-instance v6, Ljava/util/concurrent/LinkedBlockingQueue;
|
|
|
|
invoke-direct {v6}, Ljava/util/concurrent/LinkedBlockingQueue;-><init>()V
|
|
|
|
new-instance v7, Lf/h/a/f/e/n/j/a;
|
|
|
|
const-string p3, "Firebase-Messaging-Trigger-Topics-Io"
|
|
|
|
invoke-direct {v7, p3}, Lf/h/a/f/e/n/j/a;-><init>(Ljava/lang/String;)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const-wide/16 v3, 0x1e
|
|
|
|
move-object v0, p2
|
|
|
|
invoke-direct/range {v0 .. v7}, Ljava/util/concurrent/ThreadPoolExecutor;-><init>(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
|
|
|
|
new-instance p3, Lf/h/c/t/g;
|
|
|
|
invoke-direct {p3, p0}, Lf/h/c/t/g;-><init>(Lcom/google/firebase/messaging/FirebaseMessaging;)V
|
|
|
|
check-cast p1, Lf/h/a/f/o/b0;
|
|
|
|
iget-object p4, p1, Lf/h/a/f/o/b0;->b:Lf/h/a/f/o/y;
|
|
|
|
new-instance p5, Lf/h/a/f/o/u;
|
|
|
|
invoke-static {p2}, Lf/h/a/f/o/c0;->a(Ljava/util/concurrent/Executor;)Ljava/util/concurrent/Executor;
|
|
|
|
invoke-direct {p5, p2, p3}, Lf/h/a/f/o/u;-><init>(Ljava/util/concurrent/Executor;Lf/h/a/f/o/e;)V
|
|
|
|
invoke-virtual {p4, p5}, Lf/h/a/f/o/y;->b(Lf/h/a/f/o/z;)V
|
|
|
|
invoke-virtual {p1}, Lf/h/a/f/o/b0;->q()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static declared-synchronized getInstance(Lf/h/c/c;)Lcom/google/firebase/messaging/FirebaseMessaging;
|
|
.locals 1
|
|
.param p0 # Lf/h/c/c;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const-class v0, Lcom/google/firebase/messaging/FirebaseMessaging;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lf/h/c/c;->a()V
|
|
|
|
iget-object p0, p0, Lf/h/c/c;->d:Lf/h/c/i/m;
|
|
|
|
invoke-virtual {p0, v0}, Lf/h/c/i/a;->a(Ljava/lang/Class;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lcom/google/firebase/messaging/FirebaseMessaging;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit v0
|
|
|
|
return-object p0
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
monitor-exit v0
|
|
|
|
throw p0
|
|
.end method
|