DebugInfoFragment$DebugInfoAdapter.smali

.class public final Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;
.super Landroidx/recyclerview/widget/RecyclerView$Adapter;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/avast/android/cleaner/fragment/DebugInfoFragment;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x11
    name = "DebugInfoAdapter"
.end annotation

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$ViewHolder;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroidx/recyclerview/widget/RecyclerView$Adapter<",
        "Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$ViewHolder;",
        ">;"
    }
.end annotation


# instance fields
.field private final h:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;",
            ">;"
        }
    .end annotation
.end field

.field final synthetic i:Lcom/avast/android/cleaner/fragment/DebugInfoFragment;


# direct methods
.method public constructor <init>(Lcom/avast/android/cleaner/fragment/DebugInfoFragment;Ljava/util/List;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;",
            ">;)V"
        }
    .end annotation

    const-string v0, "mInfo"

    invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->c(Ljava/lang/Object;Ljava/lang/String;)V

    iput-object p1, p0, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;->i:Lcom/avast/android/cleaner/fragment/DebugInfoFragment;

    invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;-><init>()V

    iput-object p2, p0, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;->h:Ljava/util/List;

    return-void
.end method

.method public static final synthetic l(Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;)V
    .registers 3

    const/4 v0, 0x6

    invoke-direct {p0, p1}, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;->o(Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;)V

    return-void
.end method

.method public static final synthetic m(Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;)V
    .registers 3

    const/4 v0, 0x2

    invoke-direct {p0, p1}, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;->p(Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;)V

    return-void
.end method

.method public static final synthetic n(Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;)V
    .registers 3

    const/4 v0, 0x4

    invoke-direct {p0, p1}, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;->q(Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;)V

    const/4 v0, 0x7

    return-void
.end method

.method private final o(Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;)V
    .registers 5

    const/4 v2, 0x5

    new-instance v0, Ljava/lang/StringBuilder;

    const/4 v2, 0x7

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

    const/4 v2, 0x7

    const-string v1, "oIseg ufDb"

    const-string v1, "DebugInfo "

    const/4 v2, 0x4

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const/4 v2, 0x6

    invoke-virtual {p1}, Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;->b()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x2

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, " :"

    const-string v1, ": "

    const/4 v2, 0x2

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;->c()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x5

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const/4 v2, 0x0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const/4 v2, 0x3

    invoke-static {v0}, Leu/inmite/android/fw/DebugLog;->k(Ljava/lang/String;)I

    iget-object v0, p0, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;->i:Lcom/avast/android/cleaner/fragment/DebugInfoFragment;

    invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "requireContext()"

    invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->b(Ljava/lang/Object;Ljava/lang/String;)V

    const/4 v2, 0x0

    invoke-virtual {p1}, Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;->c()Ljava/lang/String;

    move-result-object p1

    invoke-direct {p0, v0, p1}, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;->t(Landroid/content/Context;Ljava/lang/String;)V

    const/4 v2, 0x7

    return-void
.end method

.method private final p(Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;)V
    .registers 9

    sget-object v0, Lkotlinx/coroutines/GlobalScope;->f:Lkotlinx/coroutines/GlobalScope;

    invoke-static {}, Lkotlinx/coroutines/Dispatchers;->b()Lkotlinx/coroutines/CoroutineDispatcher;

    move-result-object v1

    const/4 v6, 0x1

    new-instance v3, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$deleteFirebaseInstanceIdAsync$1;

    const/4 v2, 0x0

    const/4 v6, 0x7

    invoke-direct {v3, p0, p1, v2}, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$deleteFirebaseInstanceIdAsync$1;-><init>(Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;Lkotlin/coroutines/Continuation;)V

    const/4 v4, 0x2

    shl-int/2addr v6, v4

    const/4 v5, 0x3

    const/4 v5, 0x0

    invoke-static/range {v0 .. v5}, Lkotlinx/coroutines/BuildersKt;->d(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lkotlinx/coroutines/CoroutineStart;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;

    const/4 v6, 0x3

    return-void
.end method

.method private final q(Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;)V
    .registers 5

    invoke-static {}, Lcom/google/firebase/iid/FirebaseInstanceId;->c()Lcom/google/firebase/iid/FirebaseInstanceId;

    move-result-object v0

    const/4 v2, 0x0

    const-string v1, "FirebaseInstanceId.getInstance()"

    invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->b(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/google/firebase/iid/FirebaseInstanceId;->d()Lcom/google/android/gms/tasks/Task;

    move-result-object v0

    const/4 v2, 0x6

    new-instance v1, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$handleFirebaseInstanceId$1;

    invoke-direct {v1, p0, p1}, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$handleFirebaseInstanceId$1;-><init>(Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;)V

    invoke-virtual {v0, v1}, Lcom/google/android/gms/tasks/Task;->c(Lcom/google/android/gms/tasks/OnCompleteListener;)Lcom/google/android/gms/tasks/Task;

    return-void
.end method

.method private final t(Landroid/content/Context;Ljava/lang/String;)V
    .registers 6

    const/4 v2, 0x4

    const-string v0, "clipboard"

    invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    const/4 v2, 0x0

    if-eqz v0, :cond_27

    const/4 v2, 0x4

    check-cast v0, Landroid/content/ClipboardManager;

    const/4 v2, 0x0

    const-string v1, "GUID"

    const/4 v2, 0x7

    invoke-static {v1, p2}, Landroid/content/ClipData;->newPlainText(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Landroid/content/ClipData;

    move-result-object p2

    const/4 v2, 0x6

    invoke-virtual {v0, p2}, Landroid/content/ClipboardManager;->setPrimaryClip(Landroid/content/ClipData;)V

    const p2, 0x7f14001e

    const/4 v2, 0x3

    const/4 v0, 0x0

    invoke-static {p1, p2, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/Toast;->show()V

    const/4 v2, 0x3

    return-void

    :cond_27
    new-instance p1, Lkotlin/TypeCastException;

    const/4 v2, 0x1

    const-string p2, "null cannot be cast to non-null type android.content.ClipboardManager"

    const/4 v2, 0x3

    invoke-direct {p1, p2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V

    const/4 v2, 0x2

    throw p1
.end method


# virtual methods
.method public getItemCount()I
    .registers 3

    iget-object v0, p0, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;->h:Ljava/util/List;

    const/4 v1, 0x7

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x0

    return v0
.end method

.method public bridge synthetic onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
    .registers 4

    const/4 v0, 0x2

    check-cast p1, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$ViewHolder;

    invoke-virtual {p0, p1, p2}, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;->r(Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$ViewHolder;I)V

    const/4 v0, 0x3

    return-void
.end method

.method public bridge synthetic onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    .registers 4

    invoke-virtual {p0, p1, p2}, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;->s(Landroid/view/ViewGroup;I)Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$ViewHolder;

    move-result-object p1

    const/4 v0, 0x0

    return-object p1
.end method

.method public r(Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$ViewHolder;I)V
    .registers 6

    const/4 v2, 0x4

    const-string v0, "eodmhl"

    const-string v0, "holder"

    const/4 v2, 0x4

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->c(Ljava/lang/Object;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;->h:Ljava/util/List;

    invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p2

    const/4 v2, 0x0

    check-cast p2, Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;

    invoke-virtual {p1}, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$ViewHolder;->getVItemView()Lcom/avast/android/cleaner/view/DebugInfoView;

    move-result-object v0

    const/4 v2, 0x4

    invoke-virtual {v0, p2}, Lcom/avast/android/cleaner/view/DebugInfoView;->setData(Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;)V

    invoke-virtual {p1}, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$ViewHolder;->getVItemView()Lcom/avast/android/cleaner/view/DebugInfoView;

    move-result-object v0

    const/4 v2, 0x7

    new-instance v1, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$onBindViewHolder$1;

    invoke-direct {v1, p0, p2}, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$onBindViewHolder$1;-><init>(Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {p1}, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$ViewHolder;->getVItemView()Lcom/avast/android/cleaner/view/DebugInfoView;

    move-result-object p1

    const/4 v2, 0x1

    new-instance v0, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$onBindViewHolder$2;

    invoke-direct {v0, p0, p2}, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$onBindViewHolder$2;-><init>(Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;Lcom/avast/android/cleaner/view/DebugInfoView$DebugInfo;)V

    const/4 v2, 0x1

    invoke-virtual {p1, v0}, Landroid/widget/LinearLayout;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V

    const/4 v2, 0x7

    return-void
.end method

.method public s(Landroid/view/ViewGroup;I)Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$ViewHolder;
    .registers 6

    const-string p2, "parent"

    invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->c(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object p2

    const/4 v2, 0x4

    invoke-static {p2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p2

    const v0, 0x7f0e0130

    const/4 v2, 0x7

    const/4 v1, 0x0

    const/4 v2, 0x1

    invoke-virtual {p2, v0, p1, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    new-instance p2, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$ViewHolder;

    const/4 v2, 0x0

    const-string v0, "view"

    const/4 v2, 0x7

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->b(Ljava/lang/Object;Ljava/lang/String;)V

    const/4 v2, 0x4

    invoke-direct {p2, p0, p1}, Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter$ViewHolder;-><init>(Lcom/avast/android/cleaner/fragment/DebugInfoFragment$DebugInfoAdapter;Landroid/view/View;)V

    const/4 v2, 0x0

    return-object p2
.end method