190 lines
		
	
	
		
			4.8 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			190 lines
		
	
	
		
			4.8 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
.class final Lcom/google/android/gms/tasks/zzn;
 | 
						|
.super Ljava/lang/Object;
 | 
						|
.source "com.google.android.gms:play-services-tasks@@18.0.1"
 | 
						|
 | 
						|
# interfaces
 | 
						|
.implements Lcom/google/android/gms/tasks/zzq;
 | 
						|
 | 
						|
 | 
						|
# annotations
 | 
						|
.annotation system Ldalvik/annotation/Signature;
 | 
						|
    value = {
 | 
						|
        "<TResult:",
 | 
						|
        "Ljava/lang/Object;",
 | 
						|
        ">",
 | 
						|
        "Ljava/lang/Object;",
 | 
						|
        "Lcom/google/android/gms/tasks/zzq<",
 | 
						|
        "TTResult;>;"
 | 
						|
    }
 | 
						|
.end annotation
 | 
						|
 | 
						|
 | 
						|
# instance fields
 | 
						|
.field private final zza:Ljava/util/concurrent/Executor;
 | 
						|
 | 
						|
.field private final zzb:Ljava/lang/Object;
 | 
						|
 | 
						|
.field private zzc:Lcom/google/android/gms/tasks/OnSuccessListener;
 | 
						|
    .annotation system Ldalvik/annotation/Signature;
 | 
						|
        value = {
 | 
						|
            "Lcom/google/android/gms/tasks/OnSuccessListener<",
 | 
						|
            "-TTResult;>;"
 | 
						|
        }
 | 
						|
    .end annotation
 | 
						|
 | 
						|
    .annotation runtime Ljavax/annotation/Nullable;
 | 
						|
    .end annotation
 | 
						|
 | 
						|
    .annotation build Ljavax/annotation/concurrent/GuardedBy;
 | 
						|
        value = "mLock"
 | 
						|
    .end annotation
 | 
						|
.end field
 | 
						|
 | 
						|
 | 
						|
# direct methods
 | 
						|
.method public constructor <init>(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/OnSuccessListener;)V
 | 
						|
    .locals 1
 | 
						|
    .param p1    # Ljava/util/concurrent/Executor;
 | 
						|
        .annotation build Landroidx/annotation/NonNull;
 | 
						|
        .end annotation
 | 
						|
    .end param
 | 
						|
    .param p2    # Lcom/google/android/gms/tasks/OnSuccessListener;
 | 
						|
        .annotation build Landroidx/annotation/NonNull;
 | 
						|
        .end annotation
 | 
						|
    .end param
 | 
						|
    .annotation system Ldalvik/annotation/Signature;
 | 
						|
        value = {
 | 
						|
            "(",
 | 
						|
            "Ljava/util/concurrent/Executor;",
 | 
						|
            "Lcom/google/android/gms/tasks/OnSuccessListener<",
 | 
						|
            "-TTResult;>;)V"
 | 
						|
        }
 | 
						|
    .end annotation
 | 
						|
 | 
						|
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | 
						|
 | 
						|
    new-instance v0, Ljava/lang/Object;
 | 
						|
 | 
						|
    invoke-direct {v0}, Ljava/lang/Object;-><init>()V
 | 
						|
 | 
						|
    iput-object v0, p0, Lcom/google/android/gms/tasks/zzn;->zzb:Ljava/lang/Object;
 | 
						|
 | 
						|
    iput-object p1, p0, Lcom/google/android/gms/tasks/zzn;->zza:Ljava/util/concurrent/Executor;
 | 
						|
 | 
						|
    iput-object p2, p0, Lcom/google/android/gms/tasks/zzn;->zzc:Lcom/google/android/gms/tasks/OnSuccessListener;
 | 
						|
 | 
						|
    return-void
 | 
						|
.end method
 | 
						|
 | 
						|
.method public static bridge synthetic zza(Lcom/google/android/gms/tasks/zzn;)Lcom/google/android/gms/tasks/OnSuccessListener;
 | 
						|
    .locals 0
 | 
						|
 | 
						|
    iget-object p0, p0, Lcom/google/android/gms/tasks/zzn;->zzc:Lcom/google/android/gms/tasks/OnSuccessListener;
 | 
						|
 | 
						|
    return-object p0
 | 
						|
.end method
 | 
						|
 | 
						|
.method public static bridge synthetic zzb(Lcom/google/android/gms/tasks/zzn;)Ljava/lang/Object;
 | 
						|
    .locals 0
 | 
						|
 | 
						|
    iget-object p0, p0, Lcom/google/android/gms/tasks/zzn;->zzb:Ljava/lang/Object;
 | 
						|
 | 
						|
    return-object p0
 | 
						|
.end method
 | 
						|
 | 
						|
 | 
						|
# virtual methods
 | 
						|
.method public final zzc()V
 | 
						|
    .locals 2
 | 
						|
 | 
						|
    .line 1
 | 
						|
    iget-object v0, p0, Lcom/google/android/gms/tasks/zzn;->zzb:Ljava/lang/Object;
 | 
						|
 | 
						|
    monitor-enter v0
 | 
						|
 | 
						|
    const/4 v1, 0x0
 | 
						|
 | 
						|
    :try_start_0
 | 
						|
    iput-object v1, p0, Lcom/google/android/gms/tasks/zzn;->zzc:Lcom/google/android/gms/tasks/OnSuccessListener;
 | 
						|
 | 
						|
    monitor-exit v0
 | 
						|
 | 
						|
    return-void
 | 
						|
 | 
						|
    :catchall_0
 | 
						|
    move-exception v1
 | 
						|
 | 
						|
    monitor-exit v0
 | 
						|
    :try_end_0
 | 
						|
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
 | 
						|
 | 
						|
    throw v1
 | 
						|
.end method
 | 
						|
 | 
						|
.method public final zzd(Lcom/google/android/gms/tasks/Task;)V
 | 
						|
    .locals 2
 | 
						|
    .param p1    # Lcom/google/android/gms/tasks/Task;
 | 
						|
        .annotation build Landroidx/annotation/NonNull;
 | 
						|
        .end annotation
 | 
						|
    .end param
 | 
						|
    .annotation system Ldalvik/annotation/Signature;
 | 
						|
        value = {
 | 
						|
            "(",
 | 
						|
            "Lcom/google/android/gms/tasks/Task<",
 | 
						|
            "TTResult;>;)V"
 | 
						|
        }
 | 
						|
    .end annotation
 | 
						|
 | 
						|
    .line 1
 | 
						|
    invoke-virtual {p1}, Lcom/google/android/gms/tasks/Task;->isSuccessful()Z
 | 
						|
 | 
						|
    move-result v0
 | 
						|
 | 
						|
    if-eqz v0, :cond_1
 | 
						|
 | 
						|
    iget-object v0, p0, Lcom/google/android/gms/tasks/zzn;->zzb:Ljava/lang/Object;
 | 
						|
 | 
						|
    monitor-enter v0
 | 
						|
 | 
						|
    :try_start_0
 | 
						|
    iget-object v1, p0, Lcom/google/android/gms/tasks/zzn;->zzc:Lcom/google/android/gms/tasks/OnSuccessListener;
 | 
						|
 | 
						|
    if-nez v1, :cond_0
 | 
						|
 | 
						|
    .line 2
 | 
						|
    monitor-exit v0
 | 
						|
 | 
						|
    return-void
 | 
						|
 | 
						|
    .line 3
 | 
						|
    :cond_0
 | 
						|
    monitor-exit v0
 | 
						|
    :try_end_0
 | 
						|
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
 | 
						|
 | 
						|
    iget-object v0, p0, Lcom/google/android/gms/tasks/zzn;->zza:Ljava/util/concurrent/Executor;
 | 
						|
 | 
						|
    new-instance v1, Lcom/google/android/gms/tasks/zzm;
 | 
						|
 | 
						|
    invoke-direct {v1, p0, p1}, Lcom/google/android/gms/tasks/zzm;-><init>(Lcom/google/android/gms/tasks/zzn;Lcom/google/android/gms/tasks/Task;)V
 | 
						|
 | 
						|
    .line 4
 | 
						|
    invoke-interface {v0, v1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
 | 
						|
 | 
						|
    return-void
 | 
						|
 | 
						|
    :catchall_0
 | 
						|
    move-exception p1
 | 
						|
 | 
						|
    .line 5
 | 
						|
    :try_start_1
 | 
						|
    monitor-exit v0
 | 
						|
    :try_end_1
 | 
						|
    .catchall {:try_start_1 .. :try_end_1} :catchall_0
 | 
						|
 | 
						|
    throw p1
 | 
						|
 | 
						|
    :cond_1
 | 
						|
    return-void
 | 
						|
.end method
 |