c.smali
.class public Lcom/tencent/open/c/c;
.super Lcom/tencent/open/c/b;
.source "ProGuard"
# static fields
.field public static a:Z
# instance fields
.field private b:Landroid/view/KeyEvent;
.field private c:Lcom/tencent/open/web/security/a;
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.registers 2
.prologue
.line 24
invoke-direct {p0, p1}, Lcom/tencent/open/c/b;-><init>(Landroid/content/Context;)V
.line 25
return-void
.end method
# virtual methods
.method public dispatchKeyEvent(Landroid/view/KeyEvent;)Z
.registers 5
.prologue
.line 29
const-string v0, "openSDK_LOG.SecureWebView"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "-->dispatchKeyEvent, is device support: "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
sget-boolean v2, Lcom/tencent/open/c/c;->a:Z
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lcom/tencent/open/a/f;->b(Ljava/lang/String;Ljava/lang/String;)V
.line 30
sget-boolean v0, Lcom/tencent/open/c/c;->a:Z
if-nez v0, :cond_23
.line 31
invoke-super {p0, p1}, Lcom/tencent/open/c/b;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z
move-result v0
.line 71
:goto_22
return v0
.line 33
:cond_23
invoke-virtual {p1}, Landroid/view/KeyEvent;->getAction()I
move-result v0
if-nez v0, :cond_7b
.line 34
invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I
move-result v0
sparse-switch v0, :sswitch_data_80
.line 49
invoke-virtual {p1}, Landroid/view/KeyEvent;->getUnicodeChar()I
move-result v0
if-nez v0, :cond_4d
.line 50
invoke-super {p0, p1}, Lcom/tencent/open/c/b;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z
move-result v0
goto :goto_22
.line 37
:sswitch_3b
const/4 v0, 0x1
sput-boolean v0, Lcom/tencent/open/web/security/a;->b:Z
.line 38
invoke-super {p0, p1}, Lcom/tencent/open/c/b;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z
move-result v0
goto :goto_22
.line 41
:sswitch_43
invoke-super {p0, p1}, Lcom/tencent/open/c/b;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z
move-result v0
goto :goto_22
.line 44
:sswitch_48
invoke-super {p0, p1}, Lcom/tencent/open/c/b;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z
move-result v0
goto :goto_22
.line 53
:cond_4d
sget-boolean v0, Lcom/tencent/open/web/security/SecureJsInterface;->isPWDEdit:Z
if-eqz v0, :cond_76
.line 54
invoke-virtual {p1}, Landroid/view/KeyEvent;->getUnicodeChar()I
move-result v0
.line 57
const/16 v1, 0x21
if-lt v0, v1, :cond_5d
const/16 v1, 0x5f
if-le v0, v1, :cond_65
:cond_5d
const/16 v1, 0x61
if-lt v0, v1, :cond_76
const/16 v1, 0x7d
if-gt v0, v1, :cond_76
.line 58
:cond_65
new-instance v0, Landroid/view/KeyEvent;
const/4 v1, 0x0
const/16 v2, 0x11
invoke-direct {v0, v1, v2}, Landroid/view/KeyEvent;-><init>(II)V
iput-object v0, p0, Lcom/tencent/open/c/c;->b:Landroid/view/KeyEvent;
.line 60
iget-object v0, p0, Lcom/tencent/open/c/c;->b:Landroid/view/KeyEvent;
invoke-super {p0, v0}, Lcom/tencent/open/c/b;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z
move-result v0
goto :goto_22
.line 65
:cond_76
invoke-super {p0, p1}, Lcom/tencent/open/c/b;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z
move-result v0
goto :goto_22
.line 71
:cond_7b
invoke-super {p0, p1}, Lcom/tencent/open/c/b;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z
move-result v0
goto :goto_22
.line 34
:sswitch_data_80
.sparse-switch
0x4 -> :sswitch_43