.class public abstract Lcom/appsflyer/internal/aw; .super Ljava/lang/Object; .source "" # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;" } .end annotation # instance fields .field public final AFInAppEventParameterName:Ljava/util/concurrent/FutureTask; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/concurrent/FutureTask<", "TT;>;" } .end annotation .end field .field private final AFKeystoreWrapper:[Ljava/lang/String; .field public final valueOf:Ljava/lang/String; .field public final values:Landroid/content/Context; # direct methods .method public varargs constructor (Landroid/content/Context;Ljava/lang/String;[Ljava/lang/String;)V .locals 2 .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 new-instance v0, Ljava/util/concurrent/FutureTask; new-instance v1, Lcom/appsflyer/internal/aw$2; invoke-direct {v1, p0}, Lcom/appsflyer/internal/aw$2;->(Lcom/appsflyer/internal/aw;)V invoke-direct {v0, v1}, Ljava/util/concurrent/FutureTask;->(Ljava/util/concurrent/Callable;)V iput-object v0, p0, Lcom/appsflyer/internal/aw;->AFInAppEventParameterName:Ljava/util/concurrent/FutureTask; .line 3 iput-object p1, p0, Lcom/appsflyer/internal/aw;->values:Landroid/content/Context; .line 4 iput-object p2, p0, Lcom/appsflyer/internal/aw;->valueOf:Ljava/lang/String; .line 5 iput-object p3, p0, Lcom/appsflyer/internal/aw;->AFKeystoreWrapper:[Ljava/lang/String; return-void .end method # virtual methods .method public AFInAppEventType()Ljava/lang/Object; .locals 4 .annotation build Landroidx/annotation/Nullable; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "()TT;" } .end annotation .line 1 :try_start_0 iget-object v0, p0, Lcom/appsflyer/internal/aw;->AFInAppEventParameterName:Ljava/util/concurrent/FutureTask; const-wide/16 v1, 0x1f4 sget-object v3, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit; invoke-virtual {v0, v1, v2, v3}, Ljava/util/concurrent/FutureTask;->get(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; move-result-object v0 :try_end_0 .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_2 .catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_0} :catch_1 .catch Ljava/util/concurrent/TimeoutException; {:try_start_0 .. :try_end_0} :catch_0 return-object v0 :catch_0 move-exception v0 goto :goto_0 :catch_1 move-exception v0 goto :goto_0 :catch_2 move-exception v0 .line 2 :goto_0 invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String; move-result-object v1 invoke-static {v1, v0}, Lcom/appsflyer/AFLogger;->AFInAppEventType(Ljava/lang/String;Ljava/lang/Throwable;)V const/4 v0, 0x0 return-object v0 .end method .method public abstract AFKeystoreWrapper()Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "()TT;" } .end annotation .end method .method public final values()Z .locals 4 const/4 v0, 0x0 .line 1 :try_start_0 iget-object v1, p0, Lcom/appsflyer/internal/aw;->values:Landroid/content/Context; invoke-virtual {v1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; move-result-object v1 iget-object v2, p0, Lcom/appsflyer/internal/aw;->valueOf:Ljava/lang/String; const/16 v3, 0x80 .line 2 invoke-virtual {v1, v2, v3}, Landroid/content/pm/PackageManager;->resolveContentProvider(Ljava/lang/String;I)Landroid/content/pm/ProviderInfo; move-result-object v1 if-eqz v1, :cond_0 .line 3 iget-object v2, p0, Lcom/appsflyer/internal/aw;->AFKeystoreWrapper:[Ljava/lang/String; .line 4 invoke-static {v2}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List; move-result-object v2 iget-object v3, p0, Lcom/appsflyer/internal/aw;->values:Landroid/content/Context; invoke-virtual {v3}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; move-result-object v3 iget-object v1, v1, Landroid/content/pm/PackageItemInfo;->packageName:Ljava/lang/String; invoke-static {v3, v1}, Lcom/appsflyer/internal/aa;->values(Landroid/content/pm/PackageManager;Ljava/lang/String;)Ljava/lang/String; move-result-object v1 invoke-interface {v2, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z move-result v1 :try_end_0 .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_2 .catch Ljava/security/cert/CertificateException; {:try_start_0 .. :try_end_0} :catch_1 .catch Ljava/security/NoSuchAlgorithmException; {:try_start_0 .. :try_end_0} :catch_0 if-eqz v1, :cond_0 const/4 v0, 0x1 :cond_0 return v0 :catch_0 move-exception v1 goto :goto_0 :catch_1 move-exception v1 goto :goto_0 :catch_2 move-exception v1 .line 5 :goto_0 invoke-virtual {v1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String; move-result-object v2 invoke-static {v2, v1}, Lcom/appsflyer/AFLogger;->AFInAppEventType(Ljava/lang/String;Ljava/lang/Throwable;)V return v0 .end method