91 lines
2.5 KiB
Smali
91 lines
2.5 KiB
Smali
.class public final Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$DiscordCameraFragment;
|
|
.super Lcom/lytefast/flexinput/fragment/CameraFragment;
|
|
.source "WidgetChatInputAttachments.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "DiscordCameraFragment"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lcom/lytefast/flexinput/fragment/CameraFragment;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$requestPermissionClick(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$DiscordCameraFragment;)V
|
|
.locals 0
|
|
|
|
invoke-virtual {p0}, Lcom/lytefast/flexinput/fragment/CameraFragment;->requestPermissionClick()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public initPermissionsView(Landroid/widget/FrameLayout;)V
|
|
.locals 3
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getLayoutInflater()Landroid/view/LayoutInflater;
|
|
|
|
move-result-object v0
|
|
|
|
const v1, 0x7f0d0166
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-virtual {v0, v1, p1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
const v0, 0x7f0a061c
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/discord/app/AppTextView;
|
|
|
|
const v1, 0x7f1213e8
|
|
|
|
const/4 v2, 0x0
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/discord/app/AppTextView;->a(I[Ljava/lang/Object;)V
|
|
|
|
const v0, 0x7f0a003f
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$DiscordCameraFragment$initPermissionsView$1;
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$DiscordCameraFragment$initPermissionsView$1;-><init>(Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$DiscordCameraFragment;)V
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "permissionsContainer"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|