124 lines
3.4 KiB
Smali
124 lines
3.4 KiB
Smali
.class public final Lg;
|
|
.super Ljava/lang/Object;
|
|
.source "java-style lambda group"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/View$OnClickListener;
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic d:I
|
|
|
|
.field public final synthetic e:Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(ILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
iput p1, p0, Lg;->d:I
|
|
|
|
iput-object p2, p0, Lg;->e:Ljava/lang/Object;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onClick(Landroid/view/View;)V
|
|
.locals 5
|
|
|
|
iget p1, p0, Lg;->d:I
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
iget-object p1, p0, Lg;->e:Ljava/lang/Object;
|
|
|
|
check-cast p1, Lcom/discord/views/OverlayMenuView;
|
|
|
|
invoke-virtual {p1}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v0, Landroid/content/Intent;
|
|
|
|
sget-object v1, Lcom/discord/utilities/intent/IntentUtils$RouteBuilders$Uris;->INSTANCE:Lcom/discord/utilities/intent/IntentUtils$RouteBuilders$Uris;
|
|
|
|
invoke-virtual {v1}, Lcom/discord/utilities/intent/IntentUtils$RouteBuilders$Uris;->getApp()Landroid/net/Uri;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v2, p0, Lg;->e:Ljava/lang/Object;
|
|
|
|
check-cast v2, Lcom/discord/views/OverlayMenuView;
|
|
|
|
invoke-virtual {v2}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v2
|
|
|
|
const-class v3, Lcom/discord/app/AppActivity$Main;
|
|
|
|
const-string v4, "android.intent.action.VIEW"
|
|
|
|
invoke-direct {v0, v4, v1, v2, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;Landroid/content/Context;Ljava/lang/Class;)V
|
|
|
|
const/high16 v1, 0x10000000
|
|
|
|
invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
|
|
|
|
iget-object p1, p0, Lg;->e:Ljava/lang/Object;
|
|
|
|
check-cast p1, Lcom/discord/views/OverlayMenuView;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/views/OverlayMenuView;->getOnDismissRequested$app_productionDiscordExternalRelease()Lkotlin/jvm/functions/Function0;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
sget-object p1, Lcom/discord/utilities/voice/DiscordOverlayService;->Companion:Lcom/discord/utilities/voice/DiscordOverlayService$Companion;
|
|
|
|
iget-object v0, p0, Lg;->e:Ljava/lang/Object;
|
|
|
|
check-cast v0, Lcom/discord/views/OverlayMenuView;
|
|
|
|
invoke-virtual {v0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "context"
|
|
|
|
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/utilities/voice/DiscordOverlayService$Companion;->launchForVoiceChannelSelect(Landroid/content/Context;)V
|
|
|
|
iget-object p1, p0, Lg;->e:Ljava/lang/Object;
|
|
|
|
check-cast p1, Lcom/discord/views/OverlayMenuView;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/views/OverlayMenuView;->getOnDismissRequested$app_productionDiscordExternalRelease()Lkotlin/jvm/functions/Function0;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|