101 lines
2.9 KiB
Smali
101 lines
2.9 KiB
Smali
|
.class public Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "ChooserTargetServiceCompat.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Ljava/lang/Comparable;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Landroidx/sharetarget/ChooserTargetServiceCompat;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x9
|
||
|
name = "ShortcutHolder"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/lang/Object;",
|
||
|
"Ljava/lang/Comparable<",
|
||
|
"Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final mShortcut:Landroidx/core/content/pm/ShortcutInfoCompat;
|
||
|
|
||
|
.field public final mTargetClass:Landroid/content/ComponentName;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Landroidx/core/content/pm/ShortcutInfoCompat;Landroid/content/ComponentName;)V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-object p1, p0, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->mShortcut:Landroidx/core/content/pm/ShortcutInfoCompat;
|
||
|
|
||
|
iput-object p2, p0, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->mTargetClass:Landroid/content/ComponentName;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public compareTo(Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;)I
|
||
|
.locals 1
|
||
|
|
||
|
invoke-virtual {p0}, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->getShortcut()Landroidx/core/content/pm/ShortcutInfoCompat;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/core/content/pm/ShortcutInfoCompat;->getRank()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-virtual {p1}, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->getShortcut()Landroidx/core/content/pm/ShortcutInfoCompat;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Landroidx/core/content/pm/ShortcutInfoCompat;->getRank()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
sub-int/2addr v0, p1
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public bridge synthetic compareTo(Ljava/lang/Object;)I
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p1, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;
|
||
|
|
||
|
invoke-virtual {p0, p1}, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->compareTo(Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
return p1
|
||
|
.end method
|
||
|
|
||
|
.method public getShortcut()Landroidx/core/content/pm/ShortcutInfoCompat;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->mShortcut:Landroidx/core/content/pm/ShortcutInfoCompat;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public getTargetClass()Landroid/content/ComponentName;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->mTargetClass:Landroid/content/ComponentName;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|