ce$1.smali

.class final Lcom/tendcloud/tenddata/ce$1;
.super Ljava/lang/Object;
.source "td"

# interfaces
.implements Lcom/bun/miitmdid/interfaces/IIdentifierListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/tendcloud/tenddata/ce;->reflectMSA(Landroid/content/Context;)V
.end annotation

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


# direct methods
.method constructor <init>()V
    .registers 1

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

    return-void
.end method


# virtual methods
.method public OnSupport(ZLcom/bun/miitmdid/interfaces/IdSupplier;)V
    .registers 6

    if-eqz p2, :cond_34

    .line 1
    :try_start_2
    invoke-interface {p2}, Lcom/bun/miitmdid/interfaces/IdSupplier;->getOAID()Ljava/lang/String;

    move-result-object p1

    .line 2
    invoke-static {}, Lcom/tendcloud/tenddata/df;->a()Lcom/tendcloud/tenddata/df;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/tendcloud/tenddata/df;->setOAID(Ljava/lang/String;)V
    :try_end_d
    .catch Ljava/lang/Throwable; {:try_start_2 .. :try_end_d} :catch_d
    .catchall {:try_start_2 .. :try_end_d} :catchall_4f

    :catch_d
    const/4 p1, 0x0

    .line 3
    :try_start_e
    invoke-interface {p2}, Lcom/bun/miitmdid/interfaces/IdSupplier;->getVAID()Ljava/lang/String;

    move-result-object v0

    .line 4
    invoke-static {}, Lcom/tendcloud/tenddata/df;->a()Lcom/tendcloud/tenddata/df;

    move-result-object v1

    invoke-static {v0}, Lcom/tendcloud/tenddata/af;->b(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_1d

    goto :goto_1e

    :cond_1d
    move-object v0, p1

    :goto_1e
    invoke-virtual {v1, v0}, Lcom/tendcloud/tenddata/df;->setVAID(Ljava/lang/String;)V
    :try_end_21
    .catch Ljava/lang/Throwable; {:try_start_e .. :try_end_21} :catch_21
    .catchall {:try_start_e .. :try_end_21} :catchall_4f

    .line 5
    :catch_21
    :try_start_21
    invoke-interface {p2}, Lcom/bun/miitmdid/interfaces/IdSupplier;->getAAID()Ljava/lang/String;

    move-result-object p2

    .line 6
    invoke-static {}, Lcom/tendcloud/tenddata/df;->a()Lcom/tendcloud/tenddata/df;

    move-result-object v0

    invoke-static {p2}, Lcom/tendcloud/tenddata/af;->b(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_30

    move-object p1, p2

    :cond_30
    invoke-virtual {v0, p1}, Lcom/tendcloud/tenddata/df;->setAAID(Ljava/lang/String;)V

    goto :goto_56

    :cond_34
    const/4 p1, 0x1

    .line 7
    new-array p1, p1, [Ljava/lang/String;

    const/4 v0, 0x0

    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, "requestMsaIds idSupplier: is "

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

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

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

    move-result-object p2

    aput-object p2, p1, v0

    invoke-static {p1}, Lcom/tendcloud/tenddata/m;->eForInternal([Ljava/lang/String;)V
    :try_end_4e
    .catch Ljava/lang/Throwable; {:try_start_21 .. :try_end_4e} :catch_56
    .catchall {:try_start_21 .. :try_end_4e} :catchall_4f

    goto :goto_56

    :catchall_4f
    move-exception p1

    .line 8
    sget-object p2, Lcom/tendcloud/tenddata/bk;->a:Ljava/util/concurrent/CountDownLatch;

    invoke-virtual {p2}, Ljava/util/concurrent/CountDownLatch;->countDown()V

    throw p1

    :catch_56
    :goto_56
    sget-object p1, Lcom/tendcloud/tenddata/bk;->a:Ljava/util/concurrent/CountDownLatch;

    invoke-virtual {p1}, Ljava/util/concurrent/CountDownLatch;->countDown()V

    return-void
.end method