93 lines
2.4 KiB
Smali
93 lines
2.4 KiB
Smali
.class Lcom/firemint/realracing/CheatView$2;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/firemint/realracing/CheatView;->onResume()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lcom/firemint/realracing/CheatView;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/firemint/realracing/CheatView;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/firemint/realracing/CheatView$2;->this$0:Lcom/firemint/realracing/CheatView;
|
|
|
|
.line 182
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public run()V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/firemint/realracing/CheatView$2;->this$0:Lcom/firemint/realracing/CheatView;
|
|
|
|
const-string v1, "onResume"
|
|
|
|
.line 184
|
|
invoke-virtual {v0, v1}, Lcom/firemint/realracing/CheatView;->Log(Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/firemint/realracing/CheatView$2;->this$0:Lcom/firemint/realracing/CheatView;
|
|
|
|
.line 185
|
|
iget-object v0, v0, Lcom/firemint/realracing/CheatView;->m_text:Lcom/firemint/realracing/CheatView$CheatEditText;
|
|
|
|
invoke-virtual {v0}, Landroid/view/View;->requestFocus()Z
|
|
|
|
iget-object v0, p0, Lcom/firemint/realracing/CheatView$2;->this$0:Lcom/firemint/realracing/CheatView;
|
|
|
|
.line 188
|
|
invoke-virtual {v0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "input_method"
|
|
|
|
invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/inputmethod/InputMethodManager;
|
|
|
|
iget-object v1, p0, Lcom/firemint/realracing/CheatView$2;->this$0:Lcom/firemint/realracing/CheatView;
|
|
|
|
.line 189
|
|
iget-object v1, v1, Lcom/firemint/realracing/CheatView;->m_text:Lcom/firemint/realracing/CheatView$CheatEditText;
|
|
|
|
invoke-static {}, Lcom/firemint/realracing/MainActivity;->getIsAmazon()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x2
|
|
|
|
:goto_0
|
|
invoke-virtual {v0, v1, v2}, Landroid/view/inputmethod/InputMethodManager;->showSoftInput(Landroid/view/View;I)Z
|
|
|
|
return-void
|
|
.end method
|