granularity level: instruction
.class public final Lh1/z;
.super Ljava/lang/Object;
.source "SourceFile"
.field public static e:Lh1/z;
.field public a:Ljava/lang/Object;
.field public b:Ljava/lang/Object;
.field public c:Ljava/io/Serializable;
.field public d:Ljava/lang/Object;
.method public constructor <init>(I)V
.locals 2
const/4 v0, 0x0
const/4 v1, 0x1
if-eq p1, v1, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object v0, p0, Lh1/z;->a:Ljava/lang/Object;
iput-object v0, p0, Lh1/z;->b:Ljava/lang/Object;
iput-object v0, p0, Lh1/z;->c:Ljava/io/Serializable;
new-instance p1, Ljava/util/ArrayDeque;
invoke-direct {p1}, Ljava/util/ArrayDeque;-><init>()V
iput-object p1, p0, Lh1/z;->d:Ljava/lang/Object;
return-void
:cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object v0, p0, Lh1/z;->b:Ljava/lang/Object;
new-instance p1, Ljava/util/ArrayList;
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
iput-object p1, p0, Lh1/z;->c:Ljava/io/Serializable;
iput-object v0, p0, Lh1/z;->d:Ljava/lang/Object;
const-string p1, ""
iput-object p1, p0, Lh1/z;->a:Ljava/lang/Object;
return-void
.end method
.method public static declared-synchronized a()Lh1/z;
.locals 3
const-class v0, Lh1/z;
monitor-enter v0
:try_start_0
sget-object v1, Lh1/z;->e:Lh1/z;
if-nez v1, :cond_0
new-instance v1, Lh1/z;
const/4 v2, 0x0
invoke-direct {v1, v2}, Lh1/z;-><init>(I)V
sput-object v1, Lh1/z;->e:Lh1/z;
:cond_0
sget-object v1, Lh1/z;->e:Lh1/z;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit v0
return-object v1
:catchall_0
move-exception v1
monitor-exit v0
throw v1
.end method
.method public final b(Landroid/content/Context;)Z
.locals 1
iget-object v0, p0, Lh1/z;->c:Ljava/io/Serializable;
check-cast v0, Ljava/lang/Boolean;
if-nez v0, :cond_1
const-string v0, "android.permission.ACCESS_NETWORK_STATE"
invoke-virtual {p1, v0}, Landroid/content/Context;->checkCallingOrSelfPermission(Ljava/lang/String;)I
move-result p1
if-nez p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p1
iput-object p1, p0, Lh1/z;->c:Ljava/io/Serializable;
:cond_1
iget-object p1, p0, Lh1/z;->b:Ljava/lang/Object;
check-cast p1, Ljava/lang/Boolean;
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
if-nez p1, :cond_2
const/4 p1, 0x3
const-string v0, "FirebaseMessaging"
invoke-static {v0, p1}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
move-result p1
if-eqz p1, :cond_2
const-string p1, "Missing Permission: android.permission.ACCESS_NETWORK_STATE this should normally be included by the manifest merger, but may needed to be manually added to your manifest"
invoke-static {v0, p1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
:cond_2
iget-object p1, p0, Lh1/z;->c:Ljava/io/Serializable;
check-cast p1, Ljava/lang/Boolean;
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
return p1
.end method
.method public final c(Landroid/content/Context;)Z
.locals 1
iget-object v0, p0, Lh1/z;->b:Ljava/lang/Object;
check-cast v0, Ljava/lang/Boolean;
if-nez v0, :cond_1
const-string v0, "android.permission.WAKE_LOCK"
invoke-virtual {p1, v0}, Landroid/content/Context;->checkCallingOrSelfPermission(Ljava/lang/String;)I
move-result p1
if-nez p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p1
iput-object p1, p0, Lh1/z;->b:Ljava/lang/Object;
:cond_1
iget-object p1, p0, Lh1/z;->b:Ljava/lang/Object;
check-cast p1, Ljava/lang/Boolean;
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
if-nez p1, :cond_2
const/4 p1, 0x3
const-string v0, "FirebaseMessaging"
invoke-static {v0, p1}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
move-result p1
if-eqz p1, :cond_2
const-string p1, "Missing Permission: android.permission.WAKE_LOCK this should normally be included by the manifest merger, but may needed to be manually added to your manifest"
invoke-static {v0, p1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
:cond_2
iget-object p1, p0, Lh1/z;->b:Ljava/lang/Object;
check-cast p1, Ljava/lang/Boolean;
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
return p1
.end method