.class Lcom/vv/hgtv/au;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/vv/hgtv/SplashActivity;


# direct methods
.method constructor <init>(Lcom/vv/hgtv/SplashActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/vv/hgtv/au;->a:Lcom/vv/hgtv/SplashActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    :try_start_0
    new-instance v0, Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/vv/hgtv/au;->a:Lcom/vv/hgtv/SplashActivity;

    invoke-static {v1}, Lcom/vv/hgtv/SplashActivity;->a(Lcom/vv/hgtv/SplashActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, "note.txt"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "GDIPTV"

    const-string v2, "UTF-8"

    invoke-static {v0, v1, v2}, Lcom/vv/hgtv/g;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string v0, "time"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result v0

    sput v0, Lcom/vv/hgtv/SplashActivity;->c:I

    const-string v0, "interval"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result v0

    sput v0, Lcom/vv/hgtv/SplashActivity;->d:I

    const-string v0, "text"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/vv/hgtv/SplashActivity;->b:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/vv/hgtv/au;->a:Lcom/vv/hgtv/SplashActivity;

    invoke-static {v1}, Lcom/vv/hgtv/SplashActivity;->a(Lcom/vv/hgtv/SplashActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, "list11.txt"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "GDIPTV"

    const-string v2, "UTF-8"

    invoke-static {v0, v1, v2}, Lcom/vv/hgtv/g;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/vv/hgtv/b;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/vv/hgtv/au;->a:Lcom/vv/hgtv/SplashActivity;

    invoke-virtual {v0}, Lcom/vv/hgtv/SplashActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "list.db"

    sget-object v2, Lcom/vv/hgtv/b;->b:Ljava/lang/String;

    invoke-static {v0, v1, v2}, Lcom/vv/hgtv/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    const-wide/16 v0, 0x7d0

    invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V

    iget-object v0, p0, Lcom/vv/hgtv/au;->a:Lcom/vv/hgtv/SplashActivity;

    invoke-static {v0}, Lcom/vv/hgtv/SplashActivity;->b(Lcom/vv/hgtv/SplashActivity;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    const/4 v0, 0x1

    sput v0, Lcom/vv/hgtv/SplashActivity;->c:I

    const/16 v0, 0x64

    sput v0, Lcom/vv/hgtv/SplashActivity;->d:I

    const-string v0, ""

    sput-object v0, Lcom/vv/hgtv/SplashActivity;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/vv/hgtv/au;->a:Lcom/vv/hgtv/SplashActivity;

    invoke-virtual {v0}, Lcom/vv/hgtv/SplashActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "list.db"

    invoke-static {v0, v1}, Lcom/vv/hgtv/c;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/vv/hgtv/b;->b:Ljava/lang/String;

    const-wide/16 v0, 0x7d0

    :try_start_1
    invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V
    :try_end_1
    .catch Ljava/lang/InterruptedException; {:try_start_1 .. :try_end_1} :catch_1

    :goto_1
    iget-object v0, p0, Lcom/vv/hgtv/au;->a:Lcom/vv/hgtv/SplashActivity;

    invoke-static {v0}, Lcom/vv/hgtv/SplashActivity;->b(Lcom/vv/hgtv/SplashActivity;)V

    goto :goto_0

    :catch_1
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/InterruptedException;->printStackTrace()V

    goto :goto_1
.end method
