2019-12-06 03:29:40 +00:00
|
|
|
.class public final Lcom/discord/widgets/friends/WidgetFriendsFindNearby$onViewBound$5;
|
2019-07-24 11:27:29 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "WidgetFriendsFindNearby.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Landroid/view/View$OnClickListener;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/friends/WidgetFriendsFindNearby;->onViewBound(Landroid/view/View;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
2019-12-06 03:29:40 +00:00
|
|
|
accessFlags = 0x19
|
2019-07-24 11:27:29 +00:00
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/friends/WidgetFriendsFindNearby;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public constructor <init>(Lcom/discord/widgets/friends/WidgetFriendsFindNearby;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/friends/WidgetFriendsFindNearby$onViewBound$5;->this$0:Lcom/discord/widgets/friends/WidgetFriendsFindNearby;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final onClick(Landroid/view/View;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
sget-object p1, Lcom/discord/widgets/friends/WidgetFriendsFindNearby;->Companion:Lcom/discord/widgets/friends/WidgetFriendsFindNearby$Companion;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
const/4 v0, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lcom/discord/widgets/friends/WidgetFriendsFindNearby$Companion;->access$setAutoEnableNearby(Lcom/discord/widgets/friends/WidgetFriendsFindNearby$Companion;Z)V
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/friends/WidgetFriendsFindNearby$onViewBound$5;->this$0:Lcom/discord/widgets/friends/WidgetFriendsFindNearby;
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
invoke-static {p1}, Lcom/discord/widgets/friends/WidgetFriendsFindNearby;->access$getMeUserId$p(Lcom/discord/widgets/friends/WidgetFriendsFindNearby;)Ljava/lang/Long;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Number;->longValue()J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/friends/WidgetFriendsFindNearby$onViewBound$5;->this$0:Lcom/discord/widgets/friends/WidgetFriendsFindNearby;
|
|
|
|
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/friends/WidgetFriendsFindNearby;->access$getNearbyManager$p(Lcom/discord/widgets/friends/WidgetFriendsFindNearby;)Lcom/discord/widgets/friends/NearbyManager;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/friends/WidgetFriendsFindNearby$onViewBound$5;->this$0:Lcom/discord/widgets/friends/WidgetFriendsFindNearby;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;
|
2019-10-23 04:50:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/widgets/friends/NearbyManager;->buildClientAndPublish(Landroidx/fragment/app/FragmentActivity;)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-10-23 04:50:18 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-12-13 02:35:12 +00:00
|
|
|
new-instance p1, Ls/l;
|
2019-10-23 04:50:18 +00:00
|
|
|
|
|
|
|
const-string v0, "null cannot be cast to non-null type androidx.fragment.app.FragmentActivity"
|
|
|
|
|
2019-12-13 02:35:12 +00:00
|
|
|
invoke-direct {p1, v0}, Ls/l;-><init>(Ljava/lang/String;)V
|
2019-10-23 04:50:18 +00:00
|
|
|
|
|
|
|
throw p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-23 04:50:18 +00:00
|
|
|
:cond_1
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
return-void
|
|
|
|
.end method
|