apkfuckery/com.discord/smali/androidx/browser/browseractions/BrowserActionItem.smali
2019-07-24 13:27:29 +02:00

86 lines
2.4 KiB
Smali

.class public Landroidx/browser/browseractions/BrowserActionItem;
.super Ljava/lang/Object;
.source "BrowserActionItem.java"
# instance fields
.field private final mAction:Landroid/app/PendingIntent;
.field private final mIconId:I
.annotation build Landroidx/annotation/DrawableRes;
.end annotation
.end field
.field private final mTitle:Ljava/lang/String;
# direct methods
.method public constructor <init>(Ljava/lang/String;Landroid/app/PendingIntent;)V
.locals 1
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/app/PendingIntent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
const/4 v0, 0x0
invoke-direct {p0, p1, p2, v0}, Landroidx/browser/browseractions/BrowserActionItem;-><init>(Ljava/lang/String;Landroid/app/PendingIntent;I)V
return-void
.end method
.method public constructor <init>(Ljava/lang/String;Landroid/app/PendingIntent;I)V
.locals 0
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/app/PendingIntent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p3 # I
.annotation build Landroidx/annotation/DrawableRes;
.end annotation
.end param
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/browser/browseractions/BrowserActionItem;->mTitle:Ljava/lang/String;
iput-object p2, p0, Landroidx/browser/browseractions/BrowserActionItem;->mAction:Landroid/app/PendingIntent;
iput p3, p0, Landroidx/browser/browseractions/BrowserActionItem;->mIconId:I
return-void
.end method
# virtual methods
.method public getAction()Landroid/app/PendingIntent;
.locals 1
iget-object v0, p0, Landroidx/browser/browseractions/BrowserActionItem;->mAction:Landroid/app/PendingIntent;
return-object v0
.end method
.method public getIconId()I
.locals 1
iget v0, p0, Landroidx/browser/browseractions/BrowserActionItem;->mIconId:I
return v0
.end method
.method public getTitle()Ljava/lang/String;
.locals 1
iget-object v0, p0, Landroidx/browser/browseractions/BrowserActionItem;->mTitle:Ljava/lang/String;
return-object v0
.end method