b.smali
.class final Lcom/vivo/push/c/b;
.super Lcom/vivo/push/v;
.source "ChangeNetPermissionTask.java"
# direct methods
.method constructor <init>(Lcom/vivo/push/y;)V
.registers 2
.prologue
.line 16
invoke-direct {p0, p1}, Lcom/vivo/push/v;-><init>(Lcom/vivo/push/y;)V
.line 17
return-void
.end method
# virtual methods
.method protected final a(Lcom/vivo/push/y;)V
.registers 6
.prologue
.line 21
check-cast p1, Lcom/vivo/push/b/d;
.line 24
iget-object v0, p0, Lcom/vivo/push/c/b;->a:Landroid/content/Context;
invoke-static {v0}, Lcom/vivo/push/util/s;->a(Landroid/content/Context;)Lcom/vivo/push/model/b;
move-result-object v1
.line 26
invoke-virtual {p1}, Lcom/vivo/push/b/d;->d()Z
move-result v0
.line 28
if-eqz v0, :cond_35
.line 29
:try_start_e
iget-object v0, p0, Lcom/vivo/push/c/b;->a:Landroid/content/Context;
invoke-static {v0}, Lcom/vivo/push/c/f;->a(Landroid/content/Context;)Z
move-result v0
.line 33
:goto_14
if-eqz v0, :cond_34
.line 34
iget-object v0, p0, Lcom/vivo/push/c/b;->a:Landroid/content/Context;
invoke-static {v0}, Lcom/vivo/push/util/s;->a(Landroid/content/Context;)Lcom/vivo/push/model/b;
move-result-object v0
.line 35
if-eqz v1, :cond_3c
if-eqz v0, :cond_3c
invoke-virtual {v0}, Lcom/vivo/push/model/b;->a()Ljava/lang/String;
move-result-object v2
if-eqz v2, :cond_3c
invoke-virtual {v0}, Lcom/vivo/push/model/b;->a()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1}, Lcom/vivo/push/model/b;->a()Ljava/lang/String;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_3c
.line 50
:cond_34
:goto_34
return-void
.line 31
:cond_35
iget-object v0, p0, Lcom/vivo/push/c/b;->a:Landroid/content/Context;
invoke-static {v0}, Lcom/vivo/push/c/f;->b(Landroid/content/Context;)Z
move-result v0
goto :goto_14
.line 38
:cond_3c
if-eqz v1, :cond_56
invoke-virtual {v1}, Lcom/vivo/push/model/b;->a()Ljava/lang/String;
move-result-object v2
if-eqz v2, :cond_56
.line 39
new-instance v2, Lcom/vivo/push/b/aa;
invoke-virtual {v1}, Lcom/vivo/push/model/b;->a()Ljava/lang/String;
move-result-object v3
invoke-direct {v2, v3}, Lcom/vivo/push/b/aa;-><init>(Ljava/lang/String;)V
.line 40
iget-object v3, p0, Lcom/vivo/push/c/b;->a:Landroid/content/Context;
invoke-virtual {v1}, Lcom/vivo/push/model/b;->a()Ljava/lang/String;
move-result-object v1
invoke-static {v3, v1, v2}, Lcom/vivo/push/a/a;->a(Landroid/content/Context;Ljava/lang/String;Lcom/vivo/push/y;)V
.line 42
:cond_56
if-eqz v0, :cond_34
invoke-virtual {v0}, Lcom/vivo/push/model/b;->a()Ljava/lang/String;
move-result-object v1
if-eqz v1, :cond_34
.line 43
new-instance v1, Lcom/vivo/push/b/f;
invoke-direct {v1}, Lcom/vivo/push/b/f;-><init>()V
.line 44
iget-object v2, p0, Lcom/vivo/push/c/b;->a:Landroid/content/Context;
invoke-virtual {v0}, Lcom/vivo/push/model/b;->a()Ljava/lang/String;
move-result-object v0
invoke-static {v2, v0, v1}, Lcom/vivo/push/a/a;->a(Landroid/content/Context;Ljava/lang/String;Lcom/vivo/push/y;)V
:try_end_6c
.catch Ljava/lang/Exception; {:try_start_e .. :try_end_6c} :catch_6d
goto :goto_34
.line 48
:catch_6d
move-exception v0
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
goto :goto_34
.end method