apkfuckery/com.discord/smali/androidx/appcompat/app/AppCompatDelegateImpl$ActionMenuPresenterCallback.smali

67 lines
2 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Landroidx/appcompat/app/AppCompatDelegateImpl$ActionMenuPresenterCallback;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "AppCompatDelegateImpl.java"
# interfaces
.implements Landroidx/appcompat/view/menu/MenuPresenter$Callback;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/appcompat/app/AppCompatDelegateImpl;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x11
2019-07-24 11:27:29 +00:00
name = "ActionMenuPresenterCallback"
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Landroidx/appcompat/app/AppCompatDelegateImpl;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroidx/appcompat/app/AppCompatDelegateImpl;)V
2019-07-24 11:27:29 +00:00
.locals 0
iput-object p1, p0, Landroidx/appcompat/app/AppCompatDelegateImpl$ActionMenuPresenterCallback;->this$0:Landroidx/appcompat/app/AppCompatDelegateImpl;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public onCloseMenu(Landroidx/appcompat/view/menu/MenuBuilder;Z)V
2019-07-24 11:27:29 +00:00
.locals 0
iget-object p2, p0, Landroidx/appcompat/app/AppCompatDelegateImpl$ActionMenuPresenterCallback;->this$0:Landroidx/appcompat/app/AppCompatDelegateImpl;
invoke-virtual {p2, p1}, Landroidx/appcompat/app/AppCompatDelegateImpl;->checkCloseActionMenu(Landroidx/appcompat/view/menu/MenuBuilder;)V
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public onOpenSubMenu(Landroidx/appcompat/view/menu/MenuBuilder;)Z
2019-07-24 11:27:29 +00:00
.locals 2
iget-object v0, p0, Landroidx/appcompat/app/AppCompatDelegateImpl$ActionMenuPresenterCallback;->this$0:Landroidx/appcompat/app/AppCompatDelegateImpl;
invoke-virtual {v0}, Landroidx/appcompat/app/AppCompatDelegateImpl;->getWindowCallback()Landroid/view/Window$Callback;
move-result-object v0
if-eqz v0, :cond_0
const/16 v1, 0x6c
invoke-interface {v0, v1, p1}, Landroid/view/Window$Callback;->onMenuOpened(ILandroid/view/Menu;)Z
:cond_0
const/4 p1, 0x1
return p1
.end method