55 lines
1.2 KiB
Smali
55 lines
1.2 KiB
Smali
.class public final Landroidx/core/view/MenuCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "MenuCompat.java"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static setGroupDividerEnabled(Landroid/view/Menu;Z)V
|
|
.locals 2
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"NewApi"
|
|
}
|
|
.end annotation
|
|
|
|
instance-of v0, p0, Landroidx/core/internal/view/SupportMenu;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p0, Landroidx/core/internal/view/SupportMenu;
|
|
|
|
invoke-interface {p0, p1}, Landroidx/core/internal/view/SupportMenu;->setGroupDividerEnabled(Z)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1c
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
invoke-interface {p0, p1}, Landroid/view/Menu;->setGroupDividerEnabled(Z)V
|
|
|
|
: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
|