2022-06-10 21:38:30 +09:00

71 lines
1.6 KiB
Smali

.class public final Landroidx/core/widget/q$a;
.super Ljava/lang/Object;
.source "TextViewOnReceiveContentListener.java"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x10
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/widget/q;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a(Landroid/content/Context;Landroid/content/ClipData$Item;I)Ljava/lang/CharSequence;
.locals 0
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/content/ClipData$Item;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
and-int/lit8 p2, p2, 0x1
if-eqz p2, :cond_1
.line 1
invoke-virtual {p1, p0}, Landroid/content/ClipData$Item;->coerceToText(Landroid/content/Context;)Ljava/lang/CharSequence;
move-result-object p0
.line 2
instance-of p1, p0, Landroid/text/Spanned;
if-eqz p1, :cond_0
invoke-interface {p0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;
move-result-object p0
:cond_0
return-object p0
.line 3
:cond_1
invoke-virtual {p1, p0}, Landroid/content/ClipData$Item;->coerceToStyledText(Landroid/content/Context;)Ljava/lang/CharSequence;
move-result-object p0
return-object p0
.end method