ScreenshotUtils$1.smali

.class final Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils$1;
.super Ljava/lang/Object;
.source "ScreenshotUtils.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils;->a(Landroid/content/Context;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# instance fields
.field final synthetic a:Landroid/content/Context;


# direct methods
.method constructor <init>(Landroid/content/Context;)V
    .registers 2

    .prologue
    .line 76
    iput-object p1, p0, Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils$1;->a:Landroid/content/Context;

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

    return-void
.end method


# virtual methods
.method public run()V
    .registers 4

    .prologue
    .line 80
    :try_start_0
    invoke-static {}, Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils;->a()Ljava/lang/String;

    move-result-object v0

    .line 81
    invoke-static {v0}, Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils;->a(Ljava/lang/String;)V

    .line 82
    invoke-static {v0}, Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils;->b(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_13

    .line 83
    iget-object v1, p0, Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils$1;->a:Landroid/content/Context;

    invoke-static {v1, v0}, Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils;->a(Landroid/content/Context;Ljava/lang/String;)V

    .line 115
    :goto_12
    return-void

    .line 85
    :cond_13
    invoke-static {}, Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils;->b()Ljava/lang/String;

    move-result-object v0

    .line 86
    invoke-static {v0}, Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils;->a(Ljava/lang/String;)V

    .line 87
    invoke-static {v0}, Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils;->b(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3b

    .line 88
    iget-object v1, p0, Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils$1;->a:Landroid/content/Context;

    invoke-static {v1, v0}, Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils;->a(Landroid/content/Context;Ljava/lang/String;)V
    :try_end_25
    .catch Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils$ScreenshotUnsupportedException; {:try_start_0 .. :try_end_25} :catch_26
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_25} :catch_41

    goto :goto_12

    .line 93
    :catch_26
    move-exception v0

    .line 97
    new-instance v0, Lorg/json/JSONObject;

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

    .line 99
    :try_start_2c
    const-string v1, "nf_sfm"

    sget-object v2, Landroid/os/Build;->MODEL:Ljava/lang/String;

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

    .line 101
    const-string v1, "new_notify"

    invoke-static {v1, v0}, Ldxoptimizer/cgh;->a(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_38
    .catch Lorg/json/JSONException; {:try_start_2c .. :try_end_38} :catch_39

    goto :goto_12

    .line 103
    :catch_39
    move-exception v0

    goto :goto_12

    .line 90
    :cond_3b
    :try_start_3b
    new-instance v0, Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils$ScreenshotUnsupportedException;

    invoke-direct {v0}, Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils$ScreenshotUnsupportedException;-><init>()V

    throw v0
    :try_end_41
    .catch Lcom/dianxinos/optimizer/statusbar/ScreenshotUtils$ScreenshotUnsupportedException; {:try_start_3b .. :try_end_41} :catch_26
    .catch Ljava/lang/Exception; {:try_start_3b .. :try_end_41} :catch_41

    .line 105
    :catch_41
    move-exception v0

    .line 110
    const v0, 0x7f0808ca

    const/4 v1, 0x0

    invoke-static {v0, v1}, Ldxoptimizer/cct;->a(II)V

    .line 112
    const-string v0, "nf_scrf"

    invoke-static {v0}, Ldxoptimizer/cbe;->a(Ljava/lang/String;)V

    goto :goto_12
.end method