a.smali

.class public final synthetic Lcom/garena/reactpush/v1/unpack/a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field public final synthetic a:I

.field public final synthetic b:Ljava/lang/Object;


# direct methods
.method public synthetic constructor <init>(Ljava/lang/Object;I)V
    .registers 3

    iput p2, p0, Lcom/garena/reactpush/v1/unpack/a;->a:I

    iput-object p1, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 10

    iget v0, p0, Lcom/garena/reactpush/v1/unpack/a;->a:I

    const/4 v1, 0x0

    const/4 v2, 0x0

    const-string v3, "this$0"

    const/4 v4, 0x1

    packed-switch v0, :pswitch_data_1f2

    goto/16 :goto_1e9

    :pswitch_c
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/ui/activity/preview/SSZMediaTemplateFullscreenPreviewActivity;

    invoke-virtual {v0}, Lcom/shopee/sz/mediasdk/ui/activity/preview/SSZMediaTemplateFullscreenPreviewActivity;->c()V

    return-void

    :pswitch_14
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/function/g;

    sget v5, Lcom/shopee/sz/mediasdk/function/g;->f:I

    .line 1
    invoke-static {v0, v3}, Lcom/shopee/sz/loadtask/datasource/a;->y(Ljava/lang/Object;Ljava/lang/String;)V

    const/high16 v3, 0x3f800000    # 1.0f

    .line 2
    invoke-virtual {v0, v3}, Lcom/shopee/sz/mediasdk/function/base/b;->notifyProgressUpdate(F)V

    .line 3
    invoke-static {v0, v1, v4, v2}, Lcom/shopee/sz/mediasdk/function/base/b;->notifyCompleted$default(Lcom/shopee/sz/mediasdk/function/base/b;IILjava/lang/Object;)V

    return-void

    .line 4
    :pswitch_26
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/camera/b$a;

    if-eqz v0, :cond_33

    const-string v0, "SSZMediaTakeFragment"

    const-string v1, "Take fragment: capture picture fail"

    .line 5
    invoke-static {v0, v1}, Lcom/shopee/sz/loadtask/datasource/a;->G(Ljava/lang/String;Ljava/lang/String;)V

    :cond_33
    return-void

    .line 6
    :pswitch_34
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/luban/module/memory/business/c;

    .line 7
    invoke-static {v0, v3}, Lcom/shopee/sz/loadtask/datasource/a;->y(Ljava/lang/Object;Ljava/lang/String;)V

    .line 8
    sget-object v1, Lcom/shopee/luban/module/memory/business/d;->PAGE_SWITCH:Lcom/shopee/luban/module/memory/business/d;

    invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I

    move-result v1

    .line 9
    iget-boolean v2, v0, Lcom/shopee/luban/module/memory/business/c;->f:Z

    if-eqz v2, :cond_4b

    .line 10
    sget-object v1, Lcom/shopee/luban/module/memory/business/d;->ENTER_BACKGROUND:Lcom/shopee/luban/module/memory/business/d;

    invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I

    move-result v1

    .line 11
    :cond_4b
    invoke-virtual {v0, v1}, Lcom/shopee/luban/module/memory/business/c;->J(I)V

    return-void

    .line 12
    :pswitch_4f
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/luban/common/fps/i;

    .line 13
    invoke-static {v0, v3}, Lcom/shopee/sz/loadtask/datasource/a;->y(Ljava/lang/Object;Ljava/lang/String;)V

    .line 14
    invoke-virtual {v0}, Lcom/shopee/luban/common/fps/i;->e()Ljava/util/List;

    move-result-object v0

    .line 15
    invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_5e
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_6e

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/shopee/luban/common/fps/collectors/d;

    .line 16
    invoke-interface {v1}, Lcom/shopee/luban/common/fps/collectors/d;->b()V

    goto :goto_5e

    :cond_6e
    return-void

    .line 17
    :pswitch_6f
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/leego/render/v2/DRERecyclerView;

    invoke-static {v0}, Lcom/shopee/leego/render/v2/DRERecyclerView;->A(Lcom/shopee/leego/render/v2/DRERecyclerView;)V

    return-void

    :pswitch_77
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/leego/adapter/tracker/DRETrackData;

    invoke-static {v0}, Lcom/shopee/leego/adapter/tracker/DRETrackerUtilsKt;->j(Lcom/shopee/leego/adapter/tracker/DRETrackData;)V

    return-void

    :pswitch_7f
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/friends/status/ui/window/BubbleWindow;

    invoke-static {v0}, Lcom/shopee/friends/status/ui/window/BubbleWindow;->a(Lcom/shopee/friends/status/ui/window/BubbleWindow;)V

    return-void

    :pswitch_87
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/ccms/d;

    .line 18
    invoke-static {v0, v3}, Lcom/shopee/sz/loadtask/datasource/a;->y(Ljava/lang/Object;Ljava/lang/String;)V

    :try_start_8e
    const-string v2, "CcmsManager"

    const-string v3, "refreshData"

    .line 19
    invoke-static {v2, v3}, Lcom/alibaba/fastjson/serializer/h0;->I(Ljava/lang/String;Ljava/lang/String;)V

    .line 20
    iget-object v2, v0, Lcom/shopee/ccms/d;->a:Lcom/shopee/ccms/a;

    .line 21
    iget-object v2, v2, Lcom/shopee/ccms/a;->a:Lcom/shopee/ccms/a$a;

    if-eqz v2, :cond_a0

    .line 22
    iget-boolean v2, v2, Lcom/shopee/ccms/a$a;->o:Z

    goto :goto_a1

    :catch_9e
    move-exception v0

    goto :goto_b2

    :cond_a0
    const/4 v2, 0x0

    :goto_a1
    if-eqz v2, :cond_aa

    .line 23
    iget-object v2, v0, Lcom/shopee/ccms/d;->j:Lcom/shopee/ccms/b;

    if-eqz v2, :cond_aa

    invoke-virtual {v2, v1}, Lcom/shopee/ccms/b;->c(Z)V

    .line 24
    :cond_aa
    iget-boolean v2, v0, Lcom/shopee/ccms/d;->i:Z

    if-nez v2, :cond_b7

    .line 25
    invoke-virtual {v0, v1}, Lcom/shopee/ccms/d;->d(Z)V
    :try_end_b1
    .catch Ljava/lang/Exception; {:try_start_8e .. :try_end_b1} :catch_9e

    goto :goto_b7

    :goto_b2
    const-string v1, "internal"

    .line 26
    invoke-static {v1, v0}, Lcom/alibaba/fastjson/serializer/h0;->s(Ljava/lang/String;Ljava/lang/Throwable;)V

    :cond_b7
    :goto_b7
    return-void

    .line 27
    :pswitch_b8
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/ui/setting/privacy/e;

    sget v2, Lcom/shopee/app/ui/setting/privacy/e;->v:I

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 28
    sget-object v2, Lcom/shopee/core/servicerouter/a;->a:Lcom/shopee/core/servicerouter/a;

    .line 29
    invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;

    move-result-object v3

    .line 30
    iget-object v3, v3, Lcom/shopee/app/application/n2;->g:Lcom/shopee/core/context/a;

    .line 31
    const-class v5, Lcom/shopee/friendcommon/external/decouple_api/d;

    .line 32
    invoke-virtual {v2, v3, v5}, Lcom/shopee/core/servicerouter/a;->b(Lcom/shopee/core/context/a;Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/shopee/friendcommon/external/decouple_api/d;

    if-eqz v2, :cond_da

    .line 33
    invoke-interface {v2}, Lcom/shopee/friendcommon/external/decouple_api/d;->isHideFromContact()Z

    move-result v2

    if-ne v2, v4, :cond_da

    goto :goto_db

    :cond_da
    const/4 v4, 0x0

    .line 34
    :goto_db
    invoke-static {}, Lcom/garena/android/appkit/thread/f;->c()Lcom/garena/android/appkit/thread/f;

    move-result-object v2

    new-instance v3, Lcom/shopee/app/ui/setting/privacy/d;

    invoke-direct {v3, v0, v4, v1}, Lcom/shopee/app/ui/setting/privacy/d;-><init>(Ljava/lang/Object;ZI)V

    invoke-virtual {v2, v3}, Lcom/garena/android/appkit/thread/f;->d(Ljava/lang/Runnable;)V

    return-void

    .line 35
    :pswitch_e8
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Landroid/text/SpannableStringBuilder;

    .line 36
    sget-object v1, Lcom/shopee/app/ui/chat2/x;->T:Landroid/view/View;

    if-eqz v1, :cond_fa

    const v2, 0x7f0a098b

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    move-object v2, v1

    check-cast v2, Landroid/widget/TextView;

    :cond_fa
    if-nez v2, :cond_fd

    goto :goto_100

    :cond_fd
    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_100
    return-void

    .line 37
    :pswitch_101
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/ui/notification/tooltip/NotiTooltip;

    .line 38
    iget-object v1, v0, Lcom/shopee/app/ui/notification/tooltip/NotiTooltip;->d:Landroid/widget/PopupWindow;

    invoke-virtual {v1, v4}, Landroid/widget/PopupWindow;->setOutsideTouchable(Z)V

    .line 39
    iget-object v0, v0, Lcom/shopee/app/ui/notification/tooltip/NotiTooltip;->d:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->update()V

    return-void

    .line 40
    :pswitch_110
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lkotlin/jvm/functions/a;

    .line 41
    invoke-interface {v0}, Lkotlin/jvm/functions/a;->invoke()Ljava/lang/Object;

    return-void

    .line 42
    :pswitch_118
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/ui/home/native_home/cell/FoodOrderStatusRNContainerCell;

    invoke-static {v0}, Lcom/shopee/app/ui/home/native_home/cell/FoodOrderStatusRNContainerCell;->g(Lcom/shopee/app/ui/home/native_home/cell/FoodOrderStatusRNContainerCell;)V

    return-void

    :pswitch_120
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/ui/chat/cell/y;

    sget v1, Lcom/shopee/app/ui/chat/cell/y;->l:I

    invoke-virtual {v0}, Lcom/shopee/app/ui/chat/cell/y;->u1()V

    return-void

    :pswitch_12a
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/google/firebase/messaging/FirebaseMessaging;

    .line 43
    iget-object v0, v0, Lcom/google/firebase/messaging/FirebaseMessaging;->d:Landroid/content/Context;

    .line 44
    invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    if-nez v3, :cond_137

    move-object v3, v0

    :cond_137
    const-string v5, "com.google.firebase.messaging"

    .line 45
    invoke-virtual {v3, v5, v1}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v3

    const-string v5, "proxy_notification_initialized"

    .line 46
    invoke-interface {v3, v5, v1}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v3

    if-eqz v3, :cond_147

    goto/16 :goto_1e0

    .line 47
    :cond_147
    sget-object v3, Landroidx/profileinstaller/f;->a:Landroidx/profileinstaller/f;

    const-string v5, "firebase_messaging_notification_delegation_enabled"

    .line 48
    :try_start_14b
    invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v6

    .line 49
    invoke-virtual {v6}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v7

    if-eqz v7, :cond_173

    .line 50
    invoke-virtual {v6}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v6

    const/16 v8, 0x80

    .line 51
    invoke-virtual {v7, v6, v8}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;

    move-result-object v6

    if-eqz v6, :cond_173

    .line 52
    iget-object v7, v6, Landroid/content/pm/ApplicationInfo;->metaData:Landroid/os/Bundle;

    if-eqz v7, :cond_173

    .line 53
    invoke-virtual {v7, v5}, Landroid/os/BaseBundle;->containsKey(Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_173

    .line 54
    iget-object v6, v6, Landroid/content/pm/ApplicationInfo;->metaData:Landroid/os/Bundle;

    invoke-virtual {v6, v5}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result v4
    :try_end_171
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_14b .. :try_end_171} :catch_172

    goto :goto_173

    :catch_172
    nop

    .line 55
    :cond_173
    :goto_173
    invoke-static {}, Lcom/google/android/gms/common/util/PlatformVersion;->isAtLeastQ()Z

    move-result v5

    if-nez v5, :cond_17d

    .line 56
    invoke-static {v2}, Lcom/google/android/gms/tasks/Tasks;->forResult(Ljava/lang/Object;)Lcom/google/android/gms/tasks/Task;

    goto :goto_1e0

    .line 57
    :cond_17d
    new-instance v2, Lcom/google/android/gms/tasks/TaskCompletionSource;

    invoke-direct {v2}, Lcom/google/android/gms/tasks/TaskCompletionSource;-><init>()V

    .line 58
    new-instance v5, Lcom/google/firebase/messaging/x;

    invoke-direct {v5, v0, v4, v2, v1}, Lcom/google/firebase/messaging/x;-><init>(Landroid/content/Context;ZLjava/lang/Object;I)V

    .line 59
    invoke-static {}, Lcom/shopee/app/asm/anr/threadpool/c;->b()Z

    move-result v0

    if-eqz v0, :cond_1c2

    invoke-static {}, Lcom/shopee/app/asm/anr/threadpool/c;->a()Z

    move-result v0

    if-eqz v0, :cond_1c2

    .line 60
    :try_start_193
    sget-object v0, Lcom/shopee/app/asm/anr/threadpool/c;->a:Landroid/os/HandlerThread;

    .line 61
    sget-object v0, Lcom/shopee/app/asm/anr/threadpool/c;->b:Landroid/os/Handler;

    new-instance v1, Lcom/shopee/app/asm/anr/threadpool/a$b;

    invoke-direct {v1, v3, v5}, Lcom/shopee/app/asm/anr/threadpool/a$b;-><init>(Ljava/util/concurrent/Executor;Ljava/lang/Runnable;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
    :try_end_19f
    .catchall {:try_start_193 .. :try_end_19f} :catchall_1a0

    goto :goto_1dd

    :catchall_1a0
    move-exception v0

    .line 62
    invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;

    sget-object v0, Lcom/shopee/app/asm/anr/threadpool/c;->a:Landroid/os/HandlerThread;

    .line 63
    :try_start_1a6
    invoke-static {v5, v3}, Lcom/shopee/app/asm/anr/threadpool/a;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1b4

    .line 64
    sget-object v0, Lcom/shopee/app/asm/fix/threadpool/global/i;->e:Lcom/shopee/app/asm/fix/threadpool/global/j;

    .line 65
    invoke-virtual {v0, v5}, Lcom/shopee/app/asm/anr/threadpool/b;->execute(Ljava/lang/Runnable;)V

    goto :goto_1dd

    :catchall_1b2
    move-exception v0

    goto :goto_1b8

    .line 66
    :cond_1b4
    invoke-virtual {v5}, Lcom/google/firebase/messaging/x;->run()V
    :try_end_1b7
    .catchall {:try_start_1a6 .. :try_end_1b7} :catchall_1b2

    goto :goto_1dd

    .line 67
    :goto_1b8
    sget-object v1, Lcom/shopee/app/asm/anr/threadpool/c;->a:Landroid/os/HandlerThread;

    .line 68
    invoke-static {}, Lcom/shopee/app/apm/c;->d()Lcom/shopee/app/apm/nonfatal/a;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/shopee/app/apm/nonfatal/a;->c(Ljava/lang/Throwable;)V

    goto :goto_1dd

    .line 69
    :cond_1c2
    :try_start_1c2
    invoke-static {v5, v3}, Lcom/shopee/app/asm/anr/threadpool/a;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1d0

    .line 70
    sget-object v0, Lcom/shopee/app/asm/fix/threadpool/global/i;->e:Lcom/shopee/app/asm/fix/threadpool/global/j;

    .line 71
    invoke-virtual {v0, v5}, Lcom/shopee/app/asm/anr/threadpool/b;->execute(Ljava/lang/Runnable;)V

    goto :goto_1dd

    :catchall_1ce
    move-exception v0

    goto :goto_1d4

    .line 72
    :cond_1d0
    invoke-virtual {v5}, Lcom/google/firebase/messaging/x;->run()V
    :try_end_1d3
    .catchall {:try_start_1c2 .. :try_end_1d3} :catchall_1ce

    goto :goto_1dd

    .line 73
    :goto_1d4
    sget-object v1, Lcom/shopee/app/asm/anr/threadpool/c;->a:Landroid/os/HandlerThread;

    .line 74
    invoke-static {}, Lcom/shopee/app/apm/c;->d()Lcom/shopee/app/apm/nonfatal/a;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/shopee/app/apm/nonfatal/a;->c(Ljava/lang/Throwable;)V

    .line 75
    :goto_1dd
    invoke-virtual {v2}, Lcom/google/android/gms/tasks/TaskCompletionSource;->getTask()Lcom/google/android/gms/tasks/Task;

    :goto_1e0
    return-void

    .line 76
    :pswitch_1e1
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Ljava/io/File;

    .line 77
    :try_start_1e5
    invoke-static {v0}, Lcom/garena/reactpush/util/e;->a(Ljava/io/File;)V
    :try_end_1e8
    .catch Ljava/lang/Exception; {:try_start_1e5 .. :try_end_1e8} :catch_1e8

    :catch_1e8
    return-void

    .line 78
    :goto_1e9
    iget-object v0, p0, Lcom/garena/reactpush/v1/unpack/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/yasea/capture/ext/SSZYUVCameraSourceExt;

    invoke-static {v0}, Lcom/shopee/sz/yasea/capture/ext/SSZYUVCameraSourceExt;->a(Lcom/shopee/sz/yasea/capture/ext/SSZYUVCameraSourceExt;)V

    return-void

    nop

    :pswitch_data_1f2
    .packed-switch 0x0
        :pswitch_1e1
        :pswitch_12a
        :pswitch_120
        :pswitch_118
        :pswitch_110
        :pswitch_101
        :pswitch_e8
        :pswitch_b8
        :pswitch_87
        :pswitch_7f
        :pswitch_77
        :pswitch_6f
        :pswitch_4f
        :pswitch_34
        :pswitch_26
        :pswitch_14
        :pswitch_c
    .end packed-switch
.end method