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

52 lines
1.7 KiB
Smali

.class public Landroidx/appcompat/widget/ShareActionProvider$ShareActivityChooserModelPolicy;
.super Ljava/lang/Object;
.source "ShareActionProvider.java"
# interfaces
.implements Landroidx/appcompat/widget/ActivityChooserModel$OnChooseActivityListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/appcompat/widget/ShareActionProvider;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "ShareActivityChooserModelPolicy"
.end annotation
# instance fields
.field public final synthetic this$0:Landroidx/appcompat/widget/ShareActionProvider;
# direct methods
.method public constructor <init>(Landroidx/appcompat/widget/ShareActionProvider;)V
.locals 0
iput-object p1, p0, Landroidx/appcompat/widget/ShareActionProvider$ShareActivityChooserModelPolicy;->this$0:Landroidx/appcompat/widget/ShareActionProvider;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onChooseActivity(Landroidx/appcompat/widget/ActivityChooserModel;Landroid/content/Intent;)Z
.locals 1
iget-object p1, p0, Landroidx/appcompat/widget/ShareActionProvider$ShareActivityChooserModelPolicy;->this$0:Landroidx/appcompat/widget/ShareActionProvider;
iget-object v0, p1, Landroidx/appcompat/widget/ShareActionProvider;->mOnShareTargetSelectedListener:Landroidx/appcompat/widget/ShareActionProvider$OnShareTargetSelectedListener;
if-eqz v0, :cond_0
invoke-interface {v0, p1, p2}, Landroidx/appcompat/widget/ShareActionProvider$OnShareTargetSelectedListener;->onShareTargetSelected(Landroidx/appcompat/widget/ShareActionProvider;Landroid/content/Intent;)Z
:cond_0
const/4 p1, 0x0
return p1
.end method