apkfuckery/com.discord/smali/androidx/appcompat/widget/ActivityChooserView$2.smali
2020-11-12 02:11:44 +00:00

88 lines
2.6 KiB
Smali

.class public Landroidx/appcompat/widget/ActivityChooserView$2;
.super Ljava/lang/Object;
.source "ActivityChooserView.java"
# interfaces
.implements Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/appcompat/widget/ActivityChooserView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic this$0:Landroidx/appcompat/widget/ActivityChooserView;
# direct methods
.method public constructor <init>(Landroidx/appcompat/widget/ActivityChooserView;)V
.locals 0
iput-object p1, p0, Landroidx/appcompat/widget/ActivityChooserView$2;->this$0:Landroidx/appcompat/widget/ActivityChooserView;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onGlobalLayout()V
.locals 2
iget-object v0, p0, Landroidx/appcompat/widget/ActivityChooserView$2;->this$0:Landroidx/appcompat/widget/ActivityChooserView;
invoke-virtual {v0}, Landroidx/appcompat/widget/ActivityChooserView;->isShowingPopup()Z
move-result v0
if-eqz v0, :cond_1
iget-object v0, p0, Landroidx/appcompat/widget/ActivityChooserView$2;->this$0:Landroidx/appcompat/widget/ActivityChooserView;
invoke-virtual {v0}, Landroid/view/ViewGroup;->isShown()Z
move-result v0
if-nez v0, :cond_0
iget-object v0, p0, Landroidx/appcompat/widget/ActivityChooserView$2;->this$0:Landroidx/appcompat/widget/ActivityChooserView;
invoke-virtual {v0}, Landroidx/appcompat/widget/ActivityChooserView;->getListPopupWindow()Landroidx/appcompat/widget/ListPopupWindow;
move-result-object v0
invoke-virtual {v0}, Landroidx/appcompat/widget/ListPopupWindow;->dismiss()V
goto :goto_0
:cond_0
iget-object v0, p0, Landroidx/appcompat/widget/ActivityChooserView$2;->this$0:Landroidx/appcompat/widget/ActivityChooserView;
invoke-virtual {v0}, Landroidx/appcompat/widget/ActivityChooserView;->getListPopupWindow()Landroidx/appcompat/widget/ListPopupWindow;
move-result-object v0
invoke-virtual {v0}, Landroidx/appcompat/widget/ListPopupWindow;->show()V
iget-object v0, p0, Landroidx/appcompat/widget/ActivityChooserView$2;->this$0:Landroidx/appcompat/widget/ActivityChooserView;
iget-object v0, v0, Landroidx/appcompat/widget/ActivityChooserView;->mProvider:Landroidx/core/view/ActionProvider;
if-eqz v0, :cond_1
const/4 v1, 0x1
invoke-virtual {v0, v1}, Landroidx/core/view/ActionProvider;->subUiVisibilityChanged(Z)V
:cond_1
:goto_0
return-void
.end method