granularity level: instruction
.class public final Lx/h;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Lo0/h;
.field public static a:Lx/h;
.field public static final b:Lx/h;
.field public static final synthetic c:Lx/h;
.method static synthetic constructor <clinit>()V
.locals 1
new-instance v0, Lx/h;
invoke-direct {v0}, Lx/h;-><init>()V
sput-object v0, Lx/h;->b:Lx/h;
new-instance v0, Lx/h;
invoke-direct {v0}, Lx/h;-><init>()V
sput-object v0, Lx/h;->c:Lx/h;
return-void
.end method
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Landroid/content/Context;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
return-void
.end method
.method public static final varargs b(Landroid/content/pm/PackageInfo;[Lx/k;)Lx/k;
.locals 3
iget-object v0, p0, Landroid/content/pm/PackageInfo;->signatures:[Landroid/content/pm/Signature;
const/4 v1, 0x0
if-nez v0, :cond_0
return-object v1
:cond_0
array-length v0, v0
const/4 v2, 0x1
if-eq v0, v2, :cond_1
const-string p0, "GoogleSignatureVerifier"
const-string p1, "Package has more than one signature."
invoke-static {p0, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
return-object v1
:cond_1
new-instance v0, Lx/l;
iget-object p0, p0, Landroid/content/pm/PackageInfo;->signatures:[Landroid/content/pm/Signature;
const/4 v2, 0x0
aget-object p0, p0, v2
invoke-virtual {p0}, Landroid/content/pm/Signature;->toByteArray()[B
move-result-object p0
invoke-direct {v0, p0}, Lx/l;-><init>([B)V
:goto_0
array-length p0, p1
if-ge v2, p0, :cond_3
aget-object p0, p1, v2
invoke-virtual {p0, v0}, Lx/k;->equals(Ljava/lang/Object;)Z
move-result p0
if-eqz p0, :cond_2
aget-object p0, p1, v2
return-object p0
:cond_2
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_3
return-object v1
.end method
.method public static final c(Landroid/content/pm/PackageInfo;)Z
.locals 4
const/4 v0, 0x0
const/4 v1, 0x1
if-eqz p0, :cond_3
iget-object v2, p0, Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String;
const-string v3, "com.android.vending"
invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_0
iget-object v2, p0, Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String;
const-string v3, "com.google.android.gms"
invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_3
:cond_0
iget-object v2, p0, Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;
if-nez v2, :cond_1
goto :goto_0
:cond_1
iget v2, v2, Landroid/content/pm/ApplicationInfo;->flags:I
and-int/lit16 v2, v2, 0x81
if-eqz v2, :cond_2
goto :goto_1
:goto_0
:cond_2
const/4 v2, 0x0
goto :goto_2
:goto_1
:cond_3
const/4 v2, 0x1
:goto_2
if-eqz p0, :cond_5
iget-object v3, p0, Landroid/content/pm/PackageInfo;->signatures:[Landroid/content/pm/Signature;
if-eqz v3, :cond_5
if-eqz v2, :cond_4
sget-object v2, Lx/n;->a:[Lx/k;
invoke-static {p0, v2}, Lx/h;->b(Landroid/content/pm/PackageInfo;[Lx/k;)Lx/k;
move-result-object p0
goto :goto_3
:cond_4
new-array v2, v1, [Lx/k;
sget-object v3, Lx/n;->a:[Lx/k;
aget-object v3, v3, v0
aput-object v3, v2, v0
invoke-static {p0, v2}, Lx/h;->b(Landroid/content/pm/PackageInfo;[Lx/k;)Lx/k;
move-result-object p0
:goto_3
if-eqz p0, :cond_5
return v1
:cond_5
return v0
.end method
.method public a(Lv0/a;)V
.locals 2
const-class v0, Lk/q;
sget-object v1, Lk/c;->a:Lk/c;
check-cast p1, Lw0/d;
invoke-virtual {p1, v0, v1}, Lw0/d;->a(Ljava/lang/Class;Lu0/d;)Lv0/a;
const-class v0, Lk/i;
invoke-virtual {p1, v0, v1}, Lw0/d;->a(Ljava/lang/Class;Lu0/d;)Lv0/a;
const-class v0, Lk/u;
sget-object v1, Lk/f;->a:Lk/f;
invoke-virtual {p1, v0, v1}, Lw0/d;->a(Ljava/lang/Class;Lu0/d;)Lv0/a;
const-class v0, Lk/n;
invoke-virtual {p1, v0, v1}, Lw0/d;->a(Ljava/lang/Class;Lu0/d;)Lv0/a;
const-class v0, Lk/s;
sget-object v1, Lk/d;->a:Lk/d;
invoke-virtual {p1, v0, v1}, Lw0/d;->a(Ljava/lang/Class;Lu0/d;)Lv0/a;
const-class v0, Lk/k;
invoke-virtual {p1, v0, v1}, Lw0/d;->a(Ljava/lang/Class;Lu0/d;)Lv0/a;
const-class v0, Lk/a;
sget-object v1, Lk/b;->a:Lk/b;
invoke-virtual {p1, v0, v1}, Lw0/d;->a(Ljava/lang/Class;Lu0/d;)Lv0/a;
const-class v0, Lk/h;
invoke-virtual {p1, v0, v1}, Lw0/d;->a(Ljava/lang/Class;Lu0/d;)Lv0/a;
const-class v0, Lk/t;
sget-object v1, Lk/e;->a:Lk/e;
invoke-virtual {p1, v0, v1}, Lw0/d;->a(Ljava/lang/Class;Lu0/d;)Lv0/a;
const-class v0, Lk/m;
invoke-virtual {p1, v0, v1}, Lw0/d;->a(Ljava/lang/Class;Lu0/d;)Lv0/a;
const-class v0, Lk/x;
sget-object v1, Lk/g;->a:Lk/g;
invoke-virtual {p1, v0, v1}, Lw0/d;->a(Ljava/lang/Class;Lu0/d;)Lv0/a;
const-class v0, Lk/p;
invoke-virtual {p1, v0, v1}, Lw0/d;->a(Ljava/lang/Class;Lu0/d;)Lv0/a;
return-void
.end method
.method public e(Ljava/lang/Object;)Lo0/o;
.locals 1
check-cast p1, Landroid/os/Bundle;
sget v0, Lw/b;->h:I
if-eqz p1, :cond_0
const-string v0, "google.messenger"
invoke-virtual {p1, v0}, Landroid/os/BaseBundle;->containsKey(Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
const/4 p1, 0x0
:cond_1
invoke-static {p1}, Lf0/a;->j(Ljava/lang/Object;)Lo0/o;
move-result-object p1
return-object p1
.end method