DebugPlaneComponent$6.smali

.class final Lcom/imo/android/imoim/feeds/ui/detail/components/debug/DebugPlaneComponent$6;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/feeds/ui/detail/components/debug/DebugPlaneComponent;->c()Landroid/widget/TextView;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/feeds/ui/detail/components/debug/DebugPlaneComponent;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/feeds/ui/detail/components/debug/DebugPlaneComponent;)V
    .registers 2

    .line 280
    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/debug/DebugPlaneComponent$6;->a:Lcom/imo/android/imoim/feeds/ui/detail/components/debug/DebugPlaneComponent;

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

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/view/View;)V
    .registers 5

    .line 283
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/debug/DebugPlaneComponent$6;->a:Lcom/imo/android/imoim/feeds/ui/detail/components/debug/DebugPlaneComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/detail/components/debug/DebugPlaneComponent;->a(Lcom/imo/android/imoim/feeds/ui/detail/components/debug/DebugPlaneComponent;)Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;

    move-result-object p1

    const-string v0, "clipboard"

    invoke-virtual {p1, v0}, Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/content/ClipboardManager;

    const/4 v0, 0x0

    if-eqz p1, :cond_26

    .line 285
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/debug/DebugPlaneComponent$6;->a:Lcom/imo/android/imoim/feeds/ui/detail/components/debug/DebugPlaneComponent;

    invoke-static {v1}, Lcom/imo/android/imoim/feeds/ui/detail/components/debug/DebugPlaneComponent;->i(Lcom/imo/android/imoim/feeds/ui/detail/components/debug/DebugPlaneComponent;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "Instatus-Thumb-Urls"

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

    move-result-object v1

    .line 286
    invoke-virtual {p1, v1}, Landroid/content/ClipboardManager;->setPrimaryClip(Landroid/content/ClipData;)V

    const-string p1, "copy success!"

    .line 1026
    invoke-static {p1, v0}, Lsg/bigo/common/ae;->a(Ljava/lang/CharSequence;I)V

    return-void

    :cond_26
    const-string p1, "copy failed,ClipboardManager is null!"

    .line 2026
    invoke-static {p1, v0}, Lsg/bigo/common/ae;->a(Ljava/lang/CharSequence;I)V

    return-void
.end method