u.smali
.class Lcom/cleanmaster/ui/floatwindow/switchcontrol/u;
.super Ljava/lang/Object;
.source "DataController.java"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field final synthetic a:Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;
# direct methods
.method constructor <init>(Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;)V
.registers 2
.prologue
.line 140
iput-object p1, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/u;->a:Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 7
.prologue
.line 145
:try_start_0
invoke-static {}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;->g()Landroid/database/Cursor;
move-result-object v0
if-eqz v0, :cond_10
invoke-static {}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;->g()Landroid/database/Cursor;
move-result-object v0
invoke-interface {v0}, Landroid/database/Cursor;->isClosed()Z
move-result v0
if-eqz v0, :cond_19
.line 146
:cond_10
const/4 v0, 0x0
invoke-static {v0}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;->a(Landroid/database/Cursor;)Landroid/database/Cursor;
.line 147
iget-object v0, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/u;->a:Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;
invoke-static {v0}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;->a(Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;)V
.line 150
:cond_19
invoke-static {}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;->g()Landroid/database/Cursor;
move-result-object v0
if-eqz v0, :cond_3e
.line 152
iget-object v0, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/u;->a:Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;
new-instance v1, Landroid/content/ContentQueryMap;
invoke-static {}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;->g()Landroid/database/Cursor;
move-result-object v2
const-string v3, "name"
const/4 v4, 0x1
const/4 v5, 0x0
invoke-direct {v1, v2, v3, v4, v5}, Landroid/content/ContentQueryMap;-><init>(Landroid/database/Cursor;Ljava/lang/String;ZLandroid/os/Handler;)V
invoke-static {v0, v1}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;->a(Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;Landroid/content/ContentQueryMap;)Landroid/content/ContentQueryMap;
.line 153
iget-object v0, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/u;->a:Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;
new-instance v1, Lcom/cleanmaster/ui/floatwindow/switchcontrol/s$a;
iget-object v2, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/u;->a:Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;
const/4 v3, 0x0
invoke-direct {v1, v2, v3}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/s$a;-><init>(Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;Lcom/cleanmaster/ui/floatwindow/switchcontrol/t;)V
invoke-static {v0, v1}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;->a(Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;Lcom/cleanmaster/ui/floatwindow/switchcontrol/s$a;)Lcom/cleanmaster/ui/floatwindow/switchcontrol/s$a;
.line 155
:cond_3e
iget-object v0, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/u;->a:Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;
invoke-static {v0}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;->b(Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;)Landroid/content/ContentQueryMap;
move-result-object v0
if-eqz v0, :cond_5d
iget-object v0, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/u;->a:Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;
invoke-static {v0}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;->c(Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;)Lcom/cleanmaster/ui/floatwindow/switchcontrol/s$a;
move-result-object v0
if-eqz v0, :cond_5d
.line 156
iget-object v0, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/u;->a:Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;
invoke-static {v0}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;->b(Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;)Landroid/content/ContentQueryMap;
move-result-object v0
iget-object v1, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/u;->a:Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;
invoke-static {v1}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;->c(Lcom/cleanmaster/ui/floatwindow/switchcontrol/s;)Lcom/cleanmaster/ui/floatwindow/switchcontrol/s$a;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/content/ContentQueryMap;->addObserver(Ljava/util/Observer;)V
:try_end_5d
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_5d} :catch_5e
.line 163
:cond_5d
:goto_5d
return-void
.line 158
:catch_5e
move-exception v0
goto :goto_5d
.end method