2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/app/AppActivity$h;
|
2020-07-08 16:44:49 +00:00
|
|
|
.super Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
.source "AppActivity.kt"
|
|
|
|
|
|
|
|
# interfaces
|
2020-07-08 16:44:49 +00:00
|
|
|
.implements Ljava/lang/Runnable;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
2020-07-25 00:57:58 +00:00
|
|
|
value = Lcom/discord/app/AppActivity;->r(ZLandroid/view/View;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-07-08 16:44:49 +00:00
|
|
|
.field public final synthetic d:Landroid/view/View;
|
|
|
|
|
|
|
|
.field public final synthetic e:Landroid/view/inputmethod/InputMethodManager;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public constructor <init>(Landroid/view/View;Landroid/view/inputmethod/InputMethodManager;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/app/AppActivity$h;->d:Landroid/view/View;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iput-object p2, p0, Lcom/discord/app/AppActivity$h;->e:Landroid/view/inputmethod/InputMethodManager;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public final run()V
|
|
|
|
.locals 5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:try_start_0
|
|
|
|
iget-object v0, p0, Lcom/discord/app/AppActivity$h;->d:Landroid/view/View;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
instance-of v0, v0, Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/app/AppActivity$h;->d:Landroid/view/View;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
check-cast v0, Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/google/android/material/textfield/TextInputLayout;->getEditText()Landroid/widget/EditText;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/app/AppActivity$h;->d:Landroid/view/View;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
goto :goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:cond_1
|
|
|
|
iget-object v0, p0, Lcom/discord/app/AppActivity$h;->d:Landroid/view/View;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-virtual {v0}, Landroid/view/View;->requestFocus()Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/app/AppActivity$h;->e:Landroid/view/inputmethod/InputMethodManager;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 v2, 0x2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v1, v0, v2}, Landroid/view/inputmethod/InputMethodManager;->showSoftInput(Landroid/view/View;I)Z
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:catch_0
|
|
|
|
move-exception v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-31 02:11:25 +00:00
|
|
|
sget-object v1, Lcom/discord/app/AppLog;->d:Lcom/discord/app/AppLog;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 v2, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 v3, 0x3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string v4, "Error Opening/Closing the Keyboard"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-31 02:11:25 +00:00
|
|
|
invoke-virtual {v1, v4, v3, v0, v2}, Lcom/discord/app/AppLog;->c(Ljava/lang/String;ILjava/lang/Throwable;Ljava/util/Map;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:goto_1
|
|
|
|
return-void
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|