granularity level: instruction
.class public final Lcom/google/android/gms/cloudmessaging/zzt;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-cloud-messaging@@17.0.0"
.field private final zza:Landroid/content/Context;
.field private zzb:I
.field private zzc:I
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput v0, p0, Lcom/google/android/gms/cloudmessaging/zzt;->zzc:I
iput-object p1, p0, Lcom/google/android/gms/cloudmessaging/zzt;->zza:Landroid/content/Context;
return-void
.end method
.method public final declared-synchronized zza()I
.locals 3
monitor-enter p0
:try_start_0
iget v0, p0, Lcom/google/android/gms/cloudmessaging/zzt;->zzb:I
if-nez v0, :cond_0
const-string v0, "com.google.android.gms"
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:try_start_1
iget-object v1, p0, Lcom/google/android/gms/cloudmessaging/zzt;->zza:Landroid/content/Context;
invoke-static {v1}, Lcom/google/android/gms/common/wrappers/Wrappers;->packageManager(Landroid/content/Context;)Lcom/google/android/gms/common/wrappers/PackageManagerWrapper;
move-result-object v1
const/4 v2, 0x0
invoke-virtual {v1, v0, v2}, Lcom/google/android/gms/common/wrappers/PackageManagerWrapper;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;
move-result-object v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:try_start_2
if-eqz v0, :cond_0
iget v0, v0, Landroid/content/pm/PackageInfo;->versionCode:I
iput v0, p0, Lcom/google/android/gms/cloudmessaging/zzt;->zzb:I
:cond_0
iget v0, p0, Lcom/google/android/gms/cloudmessaging/zzt;->zzb:I
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
monitor-exit p0
return v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final declared-synchronized zzb()I
.locals 5
const/4 v0, 0x0
return v0
.end method