ceh.smali

.class public Ldxoptimizer/ceh;
.super Ljava/lang/Object;
.source "NotifyPermissionReportUtils.java"


# direct methods
.method public static a(Landroid/content/Context;)V
    .registers 4

    .prologue
    .line 14
    invoke-static {p0}, Ldxoptimizer/cei;->a(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_12

    .line 15
    const-string v0, "ntpe_gc"

    const-string v1, "ntpe_hnpc"

    const/4 v2, 0x1

    .line 16
    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    .line 15
    invoke-static {v0, v1, v2}, Ldxoptimizer/cgh;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Number;)V

    .line 19
    :cond_12
    new-instance v0, Lorg/json/JSONObject;

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

    .line 21
    :try_start_17
    const-string v1, "state"

    invoke-static {p0}, Ldxoptimizer/cei;->b(Landroid/content/Context;)I

    move-result v2

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
    :try_end_20
    .catch Lorg/json/JSONException; {:try_start_17 .. :try_end_20} :catch_26

    .line 24
    :goto_20
    const-string v1, "ntpe_gc"

    invoke-static {v1, v0}, Ldxoptimizer/cgh;->b(Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 26
    return-void

    .line 22
    :catch_26
    move-exception v1

    goto :goto_20
.end method