119 lines
2.9 KiB
Smali
119 lines
2.9 KiB
Smali
.class public Lcom/iflytek/cloud/ui/a$c;
|
|
.super Landroid/text/style/ClickableSpan;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/iflytek/cloud/ui/a;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = "c"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private a:Ljava/lang/String;
|
|
|
|
.field final synthetic b:Lcom/iflytek/cloud/ui/a;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/iflytek/cloud/ui/a;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/iflytek/cloud/ui/a$c;->b:Lcom/iflytek/cloud/ui/a;
|
|
|
|
invoke-direct {p0}, Landroid/text/style/ClickableSpan;-><init>()V
|
|
|
|
.line 2
|
|
iput-object p2, p0, Lcom/iflytek/cloud/ui/a$c;->a:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onClick(Landroid/view/View;)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
:try_start_0
|
|
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lcom/iflytek/cloud/ui/a$c;->a:Ljava/lang/String;
|
|
|
|
invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
|
|
|
|
move-result-object v0
|
|
|
|
.line 3
|
|
new-instance v1, Landroid/content/Intent;
|
|
|
|
const-string v2, "android.intent.action.VIEW"
|
|
|
|
invoke-direct {v1, v2, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V
|
|
|
|
const/high16 v0, 0x10000000
|
|
|
|
.line 4
|
|
invoke-virtual {v1, v0}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
const-string v0, "com.android.browser.application_id"
|
|
|
|
.line 5
|
|
:try_start_1
|
|
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
|
|
|
|
.line 6
|
|
invoke-virtual {p1, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
|
|
:try_end_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
goto :goto_1
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 9
|
|
:try_start_2
|
|
invoke-static {p1}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/Throwable;)V
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
.line 11
|
|
:goto_1
|
|
throw p1
|
|
.end method
|
|
|
|
.method public updateDrawState(Landroid/text/TextPaint;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/text/style/ClickableSpan;->updateDrawState(Landroid/text/TextPaint;)V
|
|
|
|
return-void
|
|
.end method
|