arw$c.smali
.class Ldxoptimizer/arw$c;
.super Ljava/lang/Object;
.source "AccessibilityServiceManager.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Ldxoptimizer/arw;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = "c"
.end annotation
# instance fields
.field final synthetic a:Ldxoptimizer/arw;
.field private b:Z
.field private c:Ljava/lang/String;
# direct methods
.method private constructor <init>(Ldxoptimizer/arw;)V
.registers 2
.prologue
.line 155
iput-object p1, p0, Ldxoptimizer/arw$c;->a:Ldxoptimizer/arw;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method synthetic constructor <init>(Ldxoptimizer/arw;Ldxoptimizer/arw$1;)V
.registers 3
.prologue
.line 155
invoke-direct {p0, p1}, Ldxoptimizer/arw$c;-><init>(Ldxoptimizer/arw;)V
return-void
.end method
# virtual methods
.method public a()V
.registers 3
.prologue
const/4 v1, 0x0
.line 160
iput-boolean v1, p0, Ldxoptimizer/arw$c;->b:Z
.line 161
iget-object v0, p0, Ldxoptimizer/arw$c;->a:Ldxoptimizer/arw;
invoke-static {v0}, Ldxoptimizer/arw;->a(Ldxoptimizer/arw;)Ldxoptimizer/arx;
move-result-object v0
if-eqz v0, :cond_23
.line 162
iget-object v0, p0, Ldxoptimizer/arw$c;->a:Ldxoptimizer/arw;
invoke-static {v0}, Ldxoptimizer/arw;->a(Ldxoptimizer/arw;)Ldxoptimizer/arx;
move-result-object v0
invoke-virtual {v0}, Ldxoptimizer/arx;->b()Landroid/accessibilityservice/AccessibilityServiceInfo;
move-result-object v0
iget-object v0, v0, Landroid/accessibilityservice/AccessibilityServiceInfo;->packageNames:[Ljava/lang/String;
aget-object v0, v0, v1
iput-object v0, p0, Ldxoptimizer/arw$c;->c:Ljava/lang/String;
.line 163
new-instance v0, Ljava/lang/Thread;
invoke-direct {v0, p0}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V
invoke-virtual {v0}, Ljava/lang/Thread;->start()V
.line 165
:cond_23
return-void
.end method
.method public b()V
.registers 2
.prologue
.line 168
const/4 v0, 0x1
iput-boolean v0, p0, Ldxoptimizer/arw$c;->b:Z
.line 169
return-void
.end method
.method public run()V
.registers 3
.prologue
.line 173
:goto_0
iget-boolean v0, p0, Ldxoptimizer/arw$c;->b:Z
if-nez v0, :cond_1c
iget-object v0, p0, Ldxoptimizer/arw$c;->a:Ldxoptimizer/arw;
invoke-virtual {v0}, Ldxoptimizer/arw;->b()Z
move-result v0
if-eqz v0, :cond_1c
.line 174
iget-object v0, p0, Ldxoptimizer/arw$c;->a:Ldxoptimizer/arw;
invoke-static {v0}, Ldxoptimizer/arw;->b(Ldxoptimizer/arw;)Landroid/accessibilityservice/AccessibilityService;
move-result-object v0
invoke-static {v0}, Ldxoptimizer/cco;->a(Landroid/content/Context;)Ljava/lang/String;
move-result-object v0
.line 176
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-eqz v1, :cond_1d
.line 201
:cond_1c
:goto_1c
return-void
.line 187
:cond_1d
iget-object v1, p0, Ldxoptimizer/arw$c;->c:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_33
const-string v1, "cn.opda.a.phonoalbumshoushou"
.line 188
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_33
.line 192
iget-object v0, p0, Ldxoptimizer/arw$c;->a:Ldxoptimizer/arw;
invoke-virtual {v0}, Ldxoptimizer/arw;->c()V
goto :goto_1c
.line 196
:cond_33
const-wide/16 v0, 0x3e8
:try_start_35
invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V
:try_end_38
.catch Ljava/lang/InterruptedException; {:try_start_35 .. :try_end_38} :catch_39
goto :goto_0
.line 197
:catch_39
move-exception v0
.line 198
invoke-virtual {v0}, Ljava/lang/InterruptedException;->printStackTrace()V
goto :goto_0
.end method