granularity level: instruction
.class public Lcom/google/firebase/FirebaseCommonRegistrar;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Lcom/google/firebase/components/ComponentRegistrar;
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static synthetic a(Landroid/content/Context;)Ljava/lang/String;
.locals 2
invoke-virtual {p0}, Landroid/content/Context;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;
move-result-object p0
if-eqz p0, :cond_0
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x18
if-lt v0, v1, :cond_0
iget p0, p0, Landroid/content/pm/ApplicationInfo;->minSdkVersion:I
invoke-static {p0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object p0
goto :goto_0
:cond_0
const-string p0, ""
:goto_0
return-object p0
.end method
.method public static b(Ljava/lang/String;)Ljava/lang/String;
.locals 2
const/16 v0, 0x20
const/16 v1, 0x5f
invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
move-result-object p0
const/16 v0, 0x2f
invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public final getComponents()Ljava/util/List;
.locals 14
const-class v0, Lj1/b;
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
const/4 v2, 0x0
new-array v3, v2, [Ljava/lang/Class;
const/4 v5, 0x0
new-instance v4, Ljava/util/HashSet;
invoke-direct {v4}, Ljava/util/HashSet;-><init>()V
new-instance v6, Ljava/util/HashSet;
invoke-direct {v6}, Ljava/util/HashSet;-><init>()V
const/4 v9, 0x0
new-instance v11, Ljava/util/HashSet;
invoke-direct {v11}, Ljava/util/HashSet;-><init>()V
invoke-virtual {v4, v0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
array-length v7, v3
const/4 v8, 0x0
:goto_0
if-ge v8, v7, :cond_1
aget-object v10, v3, v8
if-eqz v10, :cond_0
add-int/lit8 v8, v8, 0x1
goto :goto_0
:cond_0
new-instance v0, Ljava/lang/NullPointerException;
const-string v1, "Null interface"
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw v0
:cond_1
invoke-static {v4, v3}, Ljava/util/Collections;->addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
const-class v3, Lj1/a;
new-instance v7, Lr0/k;
const/4 v12, 0x2
invoke-direct {v7, v3, v12, v2}, Lr0/k;-><init>(Ljava/lang/Class;II)V
iget-object v3, v7, Lr0/k;->a:Ljava/lang/Class;
invoke-virtual {v4, v3}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z
move-result v3
const/4 v13, 0x1
xor-int/2addr v3, v13
if-eqz v3, :cond_3
invoke-virtual {v6, v7}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
new-instance v10, Lj/c;
const/4 v3, 0x4
invoke-direct {v10, v3}, Lj/c;-><init>(I)V
new-instance v3, Lr0/b;
new-instance v7, Ljava/util/HashSet;
invoke-direct {v7, v4}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
new-instance v8, Ljava/util/HashSet;
invoke-direct {v8, v6}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
move-object v4, v3
move-object v6, v7
move-object v7, v8
move v8, v9
invoke-direct/range {v4 .. v11}, Lr0/b;-><init>(Ljava/lang/String;Ljava/util/Set;Ljava/util/Set;IILr0/e;Ljava/util/Set;)V
invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
const-class v3, Lz0/d;
new-array v4, v12, [Ljava/lang/Class;
const-class v5, Lz0/f;
aput-object v5, v4, v2
const-class v5, Lz0/g;
aput-object v5, v4, v13
new-instance v5, Lr0/a;
invoke-direct {v5, v3, v4}, Lr0/a;-><init>(Ljava/lang/Class;[Ljava/lang/Class;)V
const-class v3, Landroid/content/Context;
new-instance v4, Lr0/k;
invoke-direct {v4, v3, v13, v2}, Lr0/k;-><init>(Ljava/lang/Class;II)V
invoke-virtual {v5, v4}, Lr0/a;->a(Lr0/k;)V
const-class v3, Lp0/g;
new-instance v4, Lr0/k;
invoke-direct {v4, v3, v13, v2}, Lr0/k;-><init>(Ljava/lang/Class;II)V
invoke-virtual {v5, v4}, Lr0/a;->a(Lr0/k;)V
const-class v3, Lz0/e;
new-instance v4, Lr0/k;
invoke-direct {v4, v3, v12, v2}, Lr0/k;-><init>(Ljava/lang/Class;II)V
invoke-virtual {v5, v4}, Lr0/a;->a(Lr0/k;)V
new-instance v2, Lr0/k;
invoke-direct {v2, v0, v13, v13}, Lr0/k;-><init>(Ljava/lang/Class;II)V
invoke-virtual {v5, v2}, Lr0/a;->a(Lr0/k;)V
new-instance v0, Lj/c;
invoke-direct {v0, v13}, Lj/c;-><init>(I)V
iput-object v0, v5, Lr0/a;->f:Lr0/e;
invoke-virtual {v5}, Lr0/a;->b()Lr0/b;
move-result-object v0
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v0
const-string v2, "fire-android"
invoke-static {v2, v0}, Lp0/a;->m(Ljava/lang/String;Ljava/lang/String;)Lr0/b;
move-result-object v0
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
const-string v0, "fire-core"
const-string v2, "20.2.0"
invoke-static {v0, v2}, Lp0/a;->m(Ljava/lang/String;Ljava/lang/String;)Lr0/b;
move-result-object v0
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
sget-object v0, Landroid/os/Build;->PRODUCT:Ljava/lang/String;
invoke-static {v0}, Lcom/google/firebase/FirebaseCommonRegistrar;->b(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
const-string v2, "device-name"
invoke-static {v2, v0}, Lp0/a;->m(Ljava/lang/String;Ljava/lang/String;)Lr0/b;
move-result-object v0
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
sget-object v0, Landroid/os/Build;->DEVICE:Ljava/lang/String;
invoke-static {v0}, Lcom/google/firebase/FirebaseCommonRegistrar;->b(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
const-string v2, "device-model"
invoke-static {v2, v0}, Lp0/a;->m(Ljava/lang/String;Ljava/lang/String;)Lr0/b;
move-result-object v0
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
sget-object v0, Landroid/os/Build;->BRAND:Ljava/lang/String;
invoke-static {v0}, Lcom/google/firebase/FirebaseCommonRegistrar;->b(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
const-string v2, "device-brand"
invoke-static {v2, v0}, Lp0/a;->m(Ljava/lang/String;Ljava/lang/String;)Lr0/b;
move-result-object v0
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
new-instance v0, Lj/c;
const/16 v2, 0xb
invoke-direct {v0, v2}, Lj/c;-><init>(I)V
const-string v2, "android-target-sdk"
invoke-static {v2, v0}, Lp0/a;->s(Ljava/lang/String;Lj/c;)Lr0/b;
move-result-object v0
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
new-instance v0, Lj/c;
const/16 v2, 0xc
invoke-direct {v0, v2}, Lj/c;-><init>(I)V
const-string v2, "android-min-sdk"
invoke-static {v2, v0}, Lp0/a;->s(Ljava/lang/String;Lj/c;)Lr0/b;
move-result-object v0
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
new-instance v0, Lj/c;
const/16 v2, 0xd
invoke-direct {v0, v2}, Lj/c;-><init>(I)V
const-string v2, "android-platform"
invoke-static {v2, v0}, Lp0/a;->s(Ljava/lang/String;Lj/c;)Lr0/b;
move-result-object v0
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
new-instance v0, Lj/c;
const/16 v2, 0xe
invoke-direct {v0, v2}, Lj/c;-><init>(I)V
const-string v2, "android-installer"
invoke-static {v2, v0}, Lp0/a;->s(Ljava/lang/String;Lj/c;)Lr0/b;
move-result-object v0
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
invoke-static {}, Lj1/d;->a()Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_2
const-string v2, "kotlin"
invoke-static {v2, v0}, Lp0/a;->m(Ljava/lang/String;Ljava/lang/String;)Lr0/b;
move-result-object v0
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
:cond_2
return-object v1
:cond_3
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Components are not allowed to depend on interfaces they themselves provide."
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method