108 lines
2.7 KiB
Smali
108 lines
2.7 KiB
Smali
.class public final Lcom/google/android/gms/maps/d;
|
|
.super Ljava/lang/Object;
|
|
|
|
|
|
# static fields
|
|
.field private static a:Z
|
|
.annotation build Ljavax/annotation/concurrent/GuardedBy;
|
|
value = "MapsInitializer.class"
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static declared-synchronized a(Landroid/content/Context;)I
|
|
.locals 3
|
|
|
|
const-class v0, Lcom/google/android/gms/maps/d;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
const-string v1, "Context is null"
|
|
|
|
invoke-static {p0, v1}, Lcom/google/android/gms/common/internal/s;->a(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
sget-boolean v1, Lcom/google/android/gms/maps/d;->a:Z
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
monitor-exit v0
|
|
|
|
return v2
|
|
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-static {p0}, Lcom/google/android/gms/maps/a/ac;->a(Landroid/content/Context;)Lcom/google/android/gms/maps/a/af;
|
|
|
|
move-result-object p0
|
|
:try_end_1
|
|
.catch Lcom/google/android/gms/common/GooglePlayServicesNotAvailableException; {:try_start_1 .. :try_end_1} :catch_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
:try_start_2
|
|
invoke-interface {p0}, Lcom/google/android/gms/maps/a/af;->a()Lcom/google/android/gms/maps/a/a;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lcom/google/android/gms/maps/b;->a(Lcom/google/android/gms/maps/a/a;)V
|
|
|
|
invoke-interface {p0}, Lcom/google/android/gms/maps/a/af;->b()Lcom/google/android/gms/internal/maps/zze;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Lcom/google/android/gms/maps/model/b;->a(Lcom/google/android/gms/internal/maps/zze;)V
|
|
:try_end_2
|
|
.catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
:try_start_3
|
|
sput-boolean p0, Lcom/google/android/gms/maps/d;->a:Z
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
|
|
|
monitor-exit v0
|
|
|
|
return v2
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
:try_start_4
|
|
new-instance v1, Lcom/google/android/gms/maps/model/RuntimeRemoteException;
|
|
|
|
invoke-direct {v1, p0}, Lcom/google/android/gms/maps/model/RuntimeRemoteException;-><init>(Landroid/os/RemoteException;)V
|
|
|
|
throw v1
|
|
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
iget p0, p0, Lcom/google/android/gms/common/GooglePlayServicesNotAvailableException;->errorCode:I
|
|
:try_end_4
|
|
.catchall {:try_start_4 .. :try_end_4} :catchall_0
|
|
|
|
monitor-exit v0
|
|
|
|
return p0
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
monitor-exit v0
|
|
|
|
throw p0
|
|
.end method
|