g.smali

.class Lcom/xiaomi/push/a/g;
.super Lcom/xiaomi/channel/commonutils/c/j$b;


# instance fields
.field final synthetic a:Lcom/xiaomi/push/a/f;


# direct methods
.method constructor <init>(Lcom/xiaomi/push/a/f;)V
    .registers 2

    iput-object p1, p0, Lcom/xiaomi/push/a/g;->a:Lcom/xiaomi/push/a/f;

    invoke-direct {p0}, Lcom/xiaomi/channel/commonutils/c/j$b;-><init>()V

    return-void
.end method


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

    invoke-static {}, Lcom/xiaomi/push/a/f;->a()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_b

    :goto_a
    return-void

    :cond_b
    :try_start_b
    invoke-static {}, Lcom/xiaomi/channel/commonutils/a/c;->d()Z

    move-result v0

    if-nez v0, :cond_2c

    iget-object v0, p0, Lcom/xiaomi/push/a/g;->a:Lcom/xiaomi/push/a/f;

    invoke-static {v0}, Lcom/xiaomi/push/a/f;->a(Lcom/xiaomi/push/a/f;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "SDCard is unavailable."

    invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_1d
    .catch Ljava/lang/Exception; {:try_start_b .. :try_end_1d} :catch_1e

    goto :goto_a

    :catch_1e
    move-exception v0

    iget-object v1, p0, Lcom/xiaomi/push/a/g;->a:Lcom/xiaomi/push/a/f;

    invoke-static {v1}, Lcom/xiaomi/push/a/f;->a(Lcom/xiaomi/push/a/f;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_a

    :cond_2c
    :try_start_2c
    iget-object v0, p0, Lcom/xiaomi/push/a/g;->a:Lcom/xiaomi/push/a/f;

    invoke-static {v0}, Lcom/xiaomi/push/a/f;->b(Lcom/xiaomi/push/a/f;)V
    :try_end_31
    .catch Ljava/lang/Exception; {:try_start_2c .. :try_end_31} :catch_1e

    goto :goto_a
.end method