46 lines
1.0 KiB
Smali
46 lines
1.0 KiB
Smali
.class public final Landroid/support/v4/widget/PopupMenuCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "PopupMenuCompat.java"
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 29
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static getDragToOpenListener(Ljava/lang/Object;)Landroid/view/View$OnTouchListener;
|
|
.locals 2
|
|
.param p0 # Ljava/lang/Object;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroid/support/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 54
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x13
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 55
|
|
check-cast p0, Landroid/widget/PopupMenu;
|
|
|
|
invoke-virtual {p0}, Landroid/widget/PopupMenu;->getDragToOpenListener()Landroid/view/View$OnTouchListener;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|