594 lines
15 KiB
Smali
594 lines
15 KiB
Smali
|
.class public final Landroidx/core/view/MenuItemCompat;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "MenuItemCompat.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/MemberClasses;
|
||
|
value = {
|
||
|
Landroidx/core/view/MenuItemCompat$OnActionExpandListener;
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field public static final SHOW_AS_ACTION_ALWAYS:I = 0x2
|
||
|
.annotation runtime Ljava/lang/Deprecated;
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public static final SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW:I = 0x8
|
||
|
.annotation runtime Ljava/lang/Deprecated;
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public static final SHOW_AS_ACTION_IF_ROOM:I = 0x1
|
||
|
.annotation runtime Ljava/lang/Deprecated;
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public static final SHOW_AS_ACTION_NEVER:I = 0x0
|
||
|
.annotation runtime Ljava/lang/Deprecated;
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public static final SHOW_AS_ACTION_WITH_TEXT:I = 0x4
|
||
|
.annotation runtime Ljava/lang/Deprecated;
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public static final TAG:Ljava/lang/String; = "MenuItemCompat"
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static collapseActionView(Landroid/view/MenuItem;)Z
|
||
|
.locals 0
|
||
|
.annotation runtime Ljava/lang/Deprecated;
|
||
|
.end annotation
|
||
|
|
||
|
invoke-interface {p0}, Landroid/view/MenuItem;->collapseActionView()Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static expandActionView(Landroid/view/MenuItem;)Z
|
||
|
.locals 0
|
||
|
.annotation runtime Ljava/lang/Deprecated;
|
||
|
.end annotation
|
||
|
|
||
|
invoke-interface {p0}, Landroid/view/MenuItem;->expandActionView()Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static getActionProvider(Landroid/view/MenuItem;)Landroidx/core/view/ActionProvider;
|
||
|
.locals 1
|
||
|
|
||
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
invoke-interface {p0}, Landroidx/core/internal/view/SupportMenuItem;->getSupportActionProvider()Landroidx/core/view/ActionProvider;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_0
|
||
|
const-string p0, "MenuItemCompat"
|
||
|
|
||
|
const-string v0, "getActionProvider: item does not implement SupportMenuItem; returning null"
|
||
|
|
||
|
invoke-static {p0, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static getActionView(Landroid/view/MenuItem;)Landroid/view/View;
|
||
|
.locals 0
|
||
|
.annotation runtime Ljava/lang/Deprecated;
|
||
|
.end annotation
|
||
|
|
||
|
invoke-interface {p0}, Landroid/view/MenuItem;->getActionView()Landroid/view/View;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static getAlphabeticModifiers(Landroid/view/MenuItem;)I
|
||
|
.locals 2
|
||
|
|
||
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
invoke-interface {p0}, Landroidx/core/internal/view/SupportMenuItem;->getAlphabeticModifiers()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
|
||
|
:cond_0
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x1a
|
||
|
|
||
|
if-lt v0, v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Landroid/view/MenuItem;->getAlphabeticModifiers()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static getContentDescription(Landroid/view/MenuItem;)Ljava/lang/CharSequence;
|
||
|
.locals 2
|
||
|
|
||
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
invoke-interface {p0}, Landroidx/core/internal/view/SupportMenuItem;->getContentDescription()Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_0
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x1a
|
||
|
|
||
|
if-lt v0, v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Landroid/view/MenuItem;->getContentDescription()Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static getIconTintList(Landroid/view/MenuItem;)Landroid/content/res/ColorStateList;
|
||
|
.locals 2
|
||
|
|
||
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
invoke-interface {p0}, Landroidx/core/internal/view/SupportMenuItem;->getIconTintList()Landroid/content/res/ColorStateList;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_0
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x1a
|
||
|
|
||
|
if-lt v0, v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Landroid/view/MenuItem;->getIconTintList()Landroid/content/res/ColorStateList;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static getIconTintMode(Landroid/view/MenuItem;)Landroid/graphics/PorterDuff$Mode;
|
||
|
.locals 2
|
||
|
|
||
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
invoke-interface {p0}, Landroidx/core/internal/view/SupportMenuItem;->getIconTintMode()Landroid/graphics/PorterDuff$Mode;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_0
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x1a
|
||
|
|
||
|
if-lt v0, v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Landroid/view/MenuItem;->getIconTintMode()Landroid/graphics/PorterDuff$Mode;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static getNumericModifiers(Landroid/view/MenuItem;)I
|
||
|
.locals 2
|
||
|
|
||
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
invoke-interface {p0}, Landroidx/core/internal/view/SupportMenuItem;->getNumericModifiers()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
|
||
|
:cond_0
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x1a
|
||
|
|
||
|
if-lt v0, v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Landroid/view/MenuItem;->getNumericModifiers()I
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static getTooltipText(Landroid/view/MenuItem;)Ljava/lang/CharSequence;
|
||
|
.locals 2
|
||
|
|
||
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
invoke-interface {p0}, Landroidx/core/internal/view/SupportMenuItem;->getTooltipText()Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_0
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x1a
|
||
|
|
||
|
if-lt v0, v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Landroid/view/MenuItem;->getTooltipText()Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_1
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static isActionViewExpanded(Landroid/view/MenuItem;)Z
|
||
|
.locals 0
|
||
|
.annotation runtime Ljava/lang/Deprecated;
|
||
|
.end annotation
|
||
|
|
||
|
invoke-interface {p0}, Landroid/view/MenuItem;->isActionViewExpanded()Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public static setActionProvider(Landroid/view/MenuItem;Landroidx/core/view/ActionProvider;)Landroid/view/MenuItem;
|
||
|
.locals 1
|
||
|
|
||
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
invoke-interface {p0, p1}, Landroidx/core/internal/view/SupportMenuItem;->setSupportActionProvider(Landroidx/core/view/ActionProvider;)Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_0
|
||
|
const-string p1, "MenuItemCompat"
|
||
|
|
||
|
const-string v0, "setActionProvider: item does not implement SupportMenuItem; ignoring"
|
||
|
|
||
|
invoke-static {p1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static setActionView(Landroid/view/MenuItem;I)Landroid/view/MenuItem;
|
||
|
.locals 0
|
||
|
.annotation runtime Ljava/lang/Deprecated;
|
||
|
.end annotation
|
||
|
|
||
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setActionView(I)Landroid/view/MenuItem;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static setActionView(Landroid/view/MenuItem;Landroid/view/View;)Landroid/view/MenuItem;
|
||
|
.locals 0
|
||
|
.annotation runtime Ljava/lang/Deprecated;
|
||
|
.end annotation
|
||
|
|
||
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setActionView(Landroid/view/View;)Landroid/view/MenuItem;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static setAlphabeticShortcut(Landroid/view/MenuItem;CI)V
|
||
|
.locals 2
|
||
|
|
||
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
invoke-interface {p0, p1, p2}, Landroidx/core/internal/view/SupportMenuItem;->setAlphabeticShortcut(CI)Landroid/view/MenuItem;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x1a
|
||
|
|
||
|
if-lt v0, v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0, p1, p2}, Landroid/view/MenuItem;->setAlphabeticShortcut(CI)Landroid/view/MenuItem;
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static setContentDescription(Landroid/view/MenuItem;Ljava/lang/CharSequence;)V
|
||
|
.locals 2
|
||
|
|
||
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
invoke-interface {p0, p1}, Landroidx/core/internal/view/SupportMenuItem;->setContentDescription(Ljava/lang/CharSequence;)Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x1a
|
||
|
|
||
|
if-lt v0, v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setContentDescription(Ljava/lang/CharSequence;)Landroid/view/MenuItem;
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static setIconTintList(Landroid/view/MenuItem;Landroid/content/res/ColorStateList;)V
|
||
|
.locals 2
|
||
|
|
||
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
invoke-interface {p0, p1}, Landroidx/core/internal/view/SupportMenuItem;->setIconTintList(Landroid/content/res/ColorStateList;)Landroid/view/MenuItem;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x1a
|
||
|
|
||
|
if-lt v0, v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setIconTintList(Landroid/content/res/ColorStateList;)Landroid/view/MenuItem;
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static setIconTintMode(Landroid/view/MenuItem;Landroid/graphics/PorterDuff$Mode;)V
|
||
|
.locals 2
|
||
|
|
||
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
invoke-interface {p0, p1}, Landroidx/core/internal/view/SupportMenuItem;->setIconTintMode(Landroid/graphics/PorterDuff$Mode;)Landroid/view/MenuItem;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x1a
|
||
|
|
||
|
if-lt v0, v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setIconTintMode(Landroid/graphics/PorterDuff$Mode;)Landroid/view/MenuItem;
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static setNumericShortcut(Landroid/view/MenuItem;CI)V
|
||
|
.locals 2
|
||
|
|
||
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
invoke-interface {p0, p1, p2}, Landroidx/core/internal/view/SupportMenuItem;->setNumericShortcut(CI)Landroid/view/MenuItem;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x1a
|
||
|
|
||
|
if-lt v0, v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0, p1, p2}, Landroid/view/MenuItem;->setNumericShortcut(CI)Landroid/view/MenuItem;
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static setOnActionExpandListener(Landroid/view/MenuItem;Landroidx/core/view/MenuItemCompat$OnActionExpandListener;)Landroid/view/MenuItem;
|
||
|
.locals 1
|
||
|
.annotation runtime Ljava/lang/Deprecated;
|
||
|
.end annotation
|
||
|
|
||
|
new-instance v0, Landroidx/core/view/MenuItemCompat$1;
|
||
|
|
||
|
invoke-direct {v0, p1}, Landroidx/core/view/MenuItemCompat$1;-><init>(Landroidx/core/view/MenuItemCompat$OnActionExpandListener;)V
|
||
|
|
||
|
invoke-interface {p0, v0}, Landroid/view/MenuItem;->setOnActionExpandListener(Landroid/view/MenuItem$OnActionExpandListener;)Landroid/view/MenuItem;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static setShortcut(Landroid/view/MenuItem;CCII)V
|
||
|
.locals 2
|
||
|
|
||
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
invoke-interface {p0, p1, p2, p3, p4}, Landroidx/core/internal/view/SupportMenuItem;->setShortcut(CCII)Landroid/view/MenuItem;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x1a
|
||
|
|
||
|
if-lt v0, v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0, p1, p2, p3, p4}, Landroid/view/MenuItem;->setShortcut(CCII)Landroid/view/MenuItem;
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static setShowAsAction(Landroid/view/MenuItem;I)V
|
||
|
.locals 0
|
||
|
.annotation runtime Ljava/lang/Deprecated;
|
||
|
.end annotation
|
||
|
|
||
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setShowAsAction(I)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static setTooltipText(Landroid/view/MenuItem;Ljava/lang/CharSequence;)V
|
||
|
.locals 2
|
||
|
|
||
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
check-cast p0, Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
invoke-interface {p0, p1}, Landroidx/core/internal/view/SupportMenuItem;->setTooltipText(Ljava/lang/CharSequence;)Landroidx/core/internal/view/SupportMenuItem;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x1a
|
||
|
|
||
|
if-lt v0, v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0, p1}, Landroid/view/MenuItem;->setTooltipText(Ljava/lang/CharSequence;)Landroid/view/MenuItem;
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
return-void
|
||
|
.end method
|