* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1152 lines
24 KiB
Smali
1152 lines
24 KiB
Smali
.class final Lcom/google/android/gms/tasks/zzw;
|
|
.super Lcom/google/android/gms/tasks/Task;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<TResult:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lcom/google/android/gms/tasks/Task<",
|
|
"TTResult;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Ljava/lang/Object;
|
|
|
|
.field public final b:Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.field public c:Z
|
|
|
|
.field public volatile d:Z
|
|
|
|
.field public e:Ljava/lang/Object;
|
|
|
|
.field public f:Ljava/lang/Exception;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
new-instance v0, Ljava/lang/Object;
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
iput-object v0, p0, Lcom/google/android/gms/tasks/zzw;->a:Ljava/lang/Object;
|
|
|
|
.line 10
|
|
.line 11
|
|
new-instance v0, Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-direct {v0}, Lcom/google/android/gms/tasks/zzr;-><init>()V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
iput-object v0, p0, Lcom/google/android/gms/tasks/zzw;->b:Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.line 17
|
|
.line 18
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/google/android/gms/tasks/OnCanceledListener;)Lcom/google/android/gms/tasks/Task;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/google/android/gms/tasks/TaskExecutors;->a:Ljava/util/concurrent/Executor;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0, v0, p1}, Lcom/google/android/gms/tasks/zzw;->b(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/OnCanceledListener;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final b(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/OnCanceledListener;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/android/gms/tasks/zzh;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0, p1, p2}, Lcom/google/android/gms/tasks/zzh;-><init>(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/OnCanceledListener;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object p1, p0, Lcom/google/android/gms/tasks/zzw;->b:Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p1, v0}, Lcom/google/android/gms/tasks/zzr;->a(Lcom/google/android/gms/tasks/zzq;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p0}, Lcom/google/android/gms/tasks/zzw;->w()V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
return-void
|
|
.end method
|
|
|
|
.method public final c(Lcom/google/android/gms/tasks/OnCompleteListener;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/google/android/gms/tasks/TaskExecutors;->a:Ljava/util/concurrent/Executor;
|
|
|
|
.line 2
|
|
.line 3
|
|
new-instance v1, Lcom/google/android/gms/tasks/zzj;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-direct {v1, v0, p1}, Lcom/google/android/gms/tasks/zzj;-><init>(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/OnCompleteListener;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
iget-object p1, p0, Lcom/google/android/gms/tasks/zzw;->b:Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {p1, v1}, Lcom/google/android/gms/tasks/zzr;->a(Lcom/google/android/gms/tasks/zzq;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p0}, Lcom/google/android/gms/tasks/zzw;->w()V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
return-void
|
|
.end method
|
|
|
|
.method public final d(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/OnCompleteListener;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/android/gms/tasks/zzj;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0, p1, p2}, Lcom/google/android/gms/tasks/zzj;-><init>(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/OnCompleteListener;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object p1, p0, Lcom/google/android/gms/tasks/zzw;->b:Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p1, v0}, Lcom/google/android/gms/tasks/zzr;->a(Lcom/google/android/gms/tasks/zzq;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p0}, Lcom/google/android/gms/tasks/zzw;->w()V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
return-void
|
|
.end method
|
|
|
|
.method public final e(Lcom/google/android/gms/tasks/OnFailureListener;)Lcom/google/android/gms/tasks/Task;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/google/android/gms/tasks/TaskExecutors;->a:Ljava/util/concurrent/Executor;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0, v0, p1}, Lcom/google/android/gms/tasks/zzw;->f(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/OnFailureListener;)Lcom/google/android/gms/tasks/Task;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final f(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/OnFailureListener;)Lcom/google/android/gms/tasks/Task;
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/android/gms/tasks/zzl;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0, p1, p2}, Lcom/google/android/gms/tasks/zzl;-><init>(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/OnFailureListener;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object p1, p0, Lcom/google/android/gms/tasks/zzw;->b:Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p1, v0}, Lcom/google/android/gms/tasks/zzr;->a(Lcom/google/android/gms/tasks/zzq;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p0}, Lcom/google/android/gms/tasks/zzw;->w()V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final g(Lcom/google/android/gms/tasks/OnSuccessListener;)Lcom/google/android/gms/tasks/Task;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/google/android/gms/tasks/TaskExecutors;->a:Ljava/util/concurrent/Executor;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0, v0, p1}, Lcom/google/android/gms/tasks/zzw;->h(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/OnSuccessListener;)Lcom/google/android/gms/tasks/Task;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final h(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/OnSuccessListener;)Lcom/google/android/gms/tasks/Task;
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/android/gms/tasks/zzn;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0, p1, p2}, Lcom/google/android/gms/tasks/zzn;-><init>(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/OnSuccessListener;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object p1, p0, Lcom/google/android/gms/tasks/zzw;->b:Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p1, v0}, Lcom/google/android/gms/tasks/zzr;->a(Lcom/google/android/gms/tasks/zzq;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p0}, Lcom/google/android/gms/tasks/zzw;->w()V
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final i(Lcom/google/android/gms/tasks/Continuation;)Lcom/google/android/gms/tasks/Task;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/google/android/gms/tasks/TaskExecutors;->a:Ljava/util/concurrent/Executor;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0, v0, p1}, Lcom/google/android/gms/tasks/zzw;->j(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/Continuation;)Lcom/google/android/gms/tasks/Task;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object p1
|
|
|
|
.line 7
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final j(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/Continuation;)Lcom/google/android/gms/tasks/Task;
|
|
.locals 2
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/android/gms/tasks/zzw;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0}, Lcom/google/android/gms/tasks/zzw;-><init>()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
new-instance v1, Lcom/google/android/gms/tasks/zzd;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-direct {v1, p1, p2, v0}, Lcom/google/android/gms/tasks/zzd;-><init>(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/Continuation;Lcom/google/android/gms/tasks/zzw;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
iget-object p1, p0, Lcom/google/android/gms/tasks/zzw;->b:Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p1, v1}, Lcom/google/android/gms/tasks/zzr;->a(Lcom/google/android/gms/tasks/zzq;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
invoke-virtual {p0}, Lcom/google/android/gms/tasks/zzw;->w()V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final k(Lcom/google/android/gms/tasks/Continuation;)Lcom/google/android/gms/tasks/Task;
|
|
.locals 3
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/google/android/gms/tasks/TaskExecutors;->a:Ljava/util/concurrent/Executor;
|
|
|
|
.line 2
|
|
.line 3
|
|
new-instance v1, Lcom/google/android/gms/tasks/zzw;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-direct {v1}, Lcom/google/android/gms/tasks/zzw;-><init>()V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
new-instance v2, Lcom/google/android/gms/tasks/zzf;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-direct {v2, v0, p1, v1}, Lcom/google/android/gms/tasks/zzf;-><init>(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/Continuation;Lcom/google/android/gms/tasks/zzw;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
iget-object p1, p0, Lcom/google/android/gms/tasks/zzw;->b:Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {p1, v2}, Lcom/google/android/gms/tasks/zzr;->a(Lcom/google/android/gms/tasks/zzq;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {p0}, Lcom/google/android/gms/tasks/zzw;->w()V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public final l()Ljava/lang/Exception;
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/tasks/zzw;->a:Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
monitor-enter v0
|
|
|
|
.line 4
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/android/gms/tasks/zzw;->f:Ljava/lang/Exception;
|
|
|
|
.line 5
|
|
.line 6
|
|
monitor-exit v0
|
|
|
|
.line 7
|
|
return-object v1
|
|
|
|
.line 8
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 9
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 10
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final m()Ljava/lang/Object;
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/tasks/zzw;->a:Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
monitor-enter v0
|
|
|
|
.line 4
|
|
:try_start_0
|
|
iget-boolean v1, p0, Lcom/google/android/gms/tasks/zzw;->c:Z
|
|
|
|
.line 5
|
|
.line 6
|
|
const-string v2, "Task is not yet complete"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {v1, v2}, Lcom/google/android/gms/common/internal/Preconditions;->checkState(ZLjava/lang/Object;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
iget-boolean v1, p0, Lcom/google/android/gms/tasks/zzw;->d:Z
|
|
|
|
.line 12
|
|
.line 13
|
|
if-nez v1, :cond_1
|
|
|
|
.line 14
|
|
.line 15
|
|
iget-object v1, p0, Lcom/google/android/gms/tasks/zzw;->f:Ljava/lang/Exception;
|
|
|
|
.line 16
|
|
.line 17
|
|
if-nez v1, :cond_0
|
|
|
|
.line 18
|
|
.line 19
|
|
iget-object v1, p0, Lcom/google/android/gms/tasks/zzw;->e:Ljava/lang/Object;
|
|
|
|
.line 20
|
|
.line 21
|
|
monitor-exit v0
|
|
|
|
.line 22
|
|
return-object v1
|
|
|
|
.line 23
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 24
|
|
goto :goto_0
|
|
|
|
.line 25
|
|
:cond_0
|
|
new-instance v2, Lcom/google/android/gms/tasks/RuntimeExecutionException;
|
|
|
|
.line 26
|
|
.line 27
|
|
invoke-direct {v2, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
throw v2
|
|
|
|
.line 31
|
|
:cond_1
|
|
new-instance v1, Ljava/util/concurrent/CancellationException;
|
|
|
|
.line 32
|
|
.line 33
|
|
const-string v2, "Task is already canceled."
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-direct {v1, v2}, Ljava/util/concurrent/CancellationException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
throw v1
|
|
|
|
.line 39
|
|
:goto_0
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 40
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final n()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/android/gms/tasks/zzw;->d:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final o()Z
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/tasks/zzw;->a:Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
monitor-enter v0
|
|
|
|
.line 4
|
|
:try_start_0
|
|
iget-boolean v1, p0, Lcom/google/android/gms/tasks/zzw;->c:Z
|
|
|
|
.line 5
|
|
.line 6
|
|
monitor-exit v0
|
|
|
|
.line 7
|
|
return v1
|
|
|
|
.line 8
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 9
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 10
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final p()Z
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/tasks/zzw;->a:Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
monitor-enter v0
|
|
|
|
.line 4
|
|
:try_start_0
|
|
iget-boolean v1, p0, Lcom/google/android/gms/tasks/zzw;->c:Z
|
|
|
|
.line 5
|
|
.line 6
|
|
const/4 v2, 0x0
|
|
|
|
.line 7
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-boolean v1, p0, Lcom/google/android/gms/tasks/zzw;->d:Z
|
|
|
|
.line 10
|
|
.line 11
|
|
if-nez v1, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object v1, p0, Lcom/google/android/gms/tasks/zzw;->f:Ljava/lang/Exception;
|
|
|
|
.line 14
|
|
.line 15
|
|
if-nez v1, :cond_0
|
|
|
|
.line 16
|
|
.line 17
|
|
const/4 v2, 0x1
|
|
|
|
.line 18
|
|
goto :goto_0
|
|
|
|
.line 19
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 20
|
|
goto :goto_1
|
|
|
|
.line 21
|
|
:cond_0
|
|
:goto_0
|
|
monitor-exit v0
|
|
|
|
.line 22
|
|
return v2
|
|
|
|
.line 23
|
|
:goto_1
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 24
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final q(Lcom/google/android/gms/tasks/SuccessContinuation;)Lcom/google/android/gms/tasks/Task;
|
|
.locals 3
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/google/android/gms/tasks/TaskExecutors;->a:Ljava/util/concurrent/Executor;
|
|
|
|
.line 2
|
|
.line 3
|
|
new-instance v1, Lcom/google/android/gms/tasks/zzw;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-direct {v1}, Lcom/google/android/gms/tasks/zzw;-><init>()V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
new-instance v2, Lcom/google/android/gms/tasks/zzp;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-direct {v2, v0, p1, v1}, Lcom/google/android/gms/tasks/zzp;-><init>(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/SuccessContinuation;Lcom/google/android/gms/tasks/zzw;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
iget-object p1, p0, Lcom/google/android/gms/tasks/zzw;->b:Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {p1, v2}, Lcom/google/android/gms/tasks/zzr;->a(Lcom/google/android/gms/tasks/zzq;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {p0}, Lcom/google/android/gms/tasks/zzw;->w()V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public final r(Ljava/lang/Object;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/tasks/zzw;->a:Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
monitor-enter v0
|
|
|
|
.line 4
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lcom/google/android/gms/tasks/zzw;->v()V
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
const/4 v1, 0x1
|
|
|
|
.line 8
|
|
iput-boolean v1, p0, Lcom/google/android/gms/tasks/zzw;->c:Z
|
|
|
|
.line 9
|
|
.line 10
|
|
iput-object p1, p0, Lcom/google/android/gms/tasks/zzw;->e:Ljava/lang/Object;
|
|
|
|
.line 11
|
|
.line 12
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 13
|
|
iget-object p1, p0, Lcom/google/android/gms/tasks/zzw;->b:Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {p1, p0}, Lcom/google/android/gms/tasks/zzr;->b(Lcom/google/android/gms/tasks/Task;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
return-void
|
|
|
|
.line 19
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 20
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 21
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final s(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/tasks/zzw;->a:Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
monitor-enter v0
|
|
|
|
.line 4
|
|
:try_start_0
|
|
iget-boolean v1, p0, Lcom/google/android/gms/tasks/zzw;->c:Z
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
monitor-exit v0
|
|
|
|
.line 9
|
|
const/4 p1, 0x0
|
|
|
|
.line 10
|
|
return p1
|
|
|
|
.line 11
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 12
|
|
goto :goto_0
|
|
|
|
.line 13
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
.line 14
|
|
iput-boolean v1, p0, Lcom/google/android/gms/tasks/zzw;->c:Z
|
|
|
|
.line 15
|
|
.line 16
|
|
iput-object p1, p0, Lcom/google/android/gms/tasks/zzw;->e:Ljava/lang/Object;
|
|
|
|
.line 17
|
|
.line 18
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 19
|
|
iget-object p1, p0, Lcom/google/android/gms/tasks/zzw;->b:Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {p1, p0}, Lcom/google/android/gms/tasks/zzr;->b(Lcom/google/android/gms/tasks/Task;)V
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
return v1
|
|
|
|
.line 25
|
|
:goto_0
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 26
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final t(Ljava/lang/Exception;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
const-string v0, "Exception must not be null"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object v0, p0, Lcom/google/android/gms/tasks/zzw;->a:Ljava/lang/Object;
|
|
|
|
.line 7
|
|
.line 8
|
|
monitor-enter v0
|
|
|
|
.line 9
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lcom/google/android/gms/tasks/zzw;->v()V
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
const/4 v1, 0x1
|
|
|
|
.line 13
|
|
iput-boolean v1, p0, Lcom/google/android/gms/tasks/zzw;->c:Z
|
|
|
|
.line 14
|
|
.line 15
|
|
iput-object p1, p0, Lcom/google/android/gms/tasks/zzw;->f:Ljava/lang/Exception;
|
|
|
|
.line 16
|
|
.line 17
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 18
|
|
iget-object p1, p0, Lcom/google/android/gms/tasks/zzw;->b:Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-virtual {p1, p0}, Lcom/google/android/gms/tasks/zzr;->b(Lcom/google/android/gms/tasks/Task;)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
return-void
|
|
|
|
.line 24
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 25
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 26
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final u()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/tasks/zzw;->a:Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
monitor-enter v0
|
|
|
|
.line 4
|
|
:try_start_0
|
|
iget-boolean v1, p0, Lcom/google/android/gms/tasks/zzw;->c:Z
|
|
|
|
.line 5
|
|
.line 6
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
monitor-exit v0
|
|
|
|
.line 9
|
|
return-void
|
|
|
|
.line 10
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 11
|
|
goto :goto_0
|
|
|
|
.line 12
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
.line 13
|
|
iput-boolean v1, p0, Lcom/google/android/gms/tasks/zzw;->c:Z
|
|
|
|
.line 14
|
|
.line 15
|
|
iput-boolean v1, p0, Lcom/google/android/gms/tasks/zzw;->d:Z
|
|
|
|
.line 16
|
|
.line 17
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 18
|
|
iget-object v0, p0, Lcom/google/android/gms/tasks/zzw;->b:Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-virtual {v0, p0}, Lcom/google/android/gms/tasks/zzr;->b(Lcom/google/android/gms/tasks/Task;)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
return-void
|
|
|
|
.line 24
|
|
:goto_0
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 25
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final v()V
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/android/gms/tasks/zzw;->c:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 4
|
|
.line 5
|
|
sget v0, Lcom/google/android/gms/tasks/DuplicateTaskCompletionException;->c:I
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0}, Lcom/google/android/gms/tasks/zzw;->o()Z
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result v0
|
|
|
|
.line 11
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p0}, Lcom/google/android/gms/tasks/zzw;->l()Ljava/lang/Exception;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-object v0
|
|
|
|
.line 17
|
|
if-nez v0, :cond_2
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-virtual {p0}, Lcom/google/android/gms/tasks/zzw;->p()Z
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result v1
|
|
|
|
.line 23
|
|
if-nez v1, :cond_1
|
|
|
|
.line 24
|
|
.line 25
|
|
iget-boolean v1, p0, Lcom/google/android/gms/tasks/zzw;->d:Z
|
|
|
|
.line 26
|
|
.line 27
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 28
|
|
.line 29
|
|
const-string v1, "cancellation"
|
|
|
|
.line 30
|
|
.line 31
|
|
goto :goto_0
|
|
|
|
.line 32
|
|
:cond_0
|
|
const-string v1, "unknown issue"
|
|
|
|
.line 33
|
|
.line 34
|
|
goto :goto_0
|
|
|
|
.line 35
|
|
:cond_1
|
|
invoke-virtual {p0}, Lcom/google/android/gms/tasks/zzw;->m()Ljava/lang/Object;
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result-object v1
|
|
|
|
.line 39
|
|
invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
move-result-object v1
|
|
|
|
.line 43
|
|
const-string v2, "result "
|
|
|
|
.line 44
|
|
.line 45
|
|
invoke-virtual {v2, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
move-result-object v1
|
|
|
|
.line 49
|
|
goto :goto_0
|
|
|
|
.line 50
|
|
:cond_2
|
|
const-string v1, "failure"
|
|
|
|
.line 51
|
|
.line 52
|
|
:goto_0
|
|
new-instance v2, Lcom/google/android/gms/tasks/DuplicateTaskCompletionException;
|
|
|
|
.line 53
|
|
.line 54
|
|
const-string v3, "Complete with: "
|
|
|
|
.line 55
|
|
.line 56
|
|
invoke-virtual {v3, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
move-result-object v1
|
|
|
|
.line 60
|
|
invoke-direct {v2, v1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 61
|
|
.line 62
|
|
.line 63
|
|
goto :goto_1
|
|
|
|
.line 64
|
|
:cond_3
|
|
new-instance v2, Ljava/lang/IllegalStateException;
|
|
|
|
.line 65
|
|
.line 66
|
|
const-string v0, "DuplicateTaskCompletionException can only be created from completed Task."
|
|
|
|
.line 67
|
|
.line 68
|
|
invoke-direct {v2, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
:goto_1
|
|
throw v2
|
|
|
|
.line 72
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method public final w()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/tasks/zzw;->a:Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
monitor-enter v0
|
|
|
|
.line 4
|
|
:try_start_0
|
|
iget-boolean v1, p0, Lcom/google/android/gms/tasks/zzw;->c:Z
|
|
|
|
.line 5
|
|
.line 6
|
|
if-nez v1, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
monitor-exit v0
|
|
|
|
.line 9
|
|
return-void
|
|
|
|
.line 10
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 11
|
|
goto :goto_0
|
|
|
|
.line 12
|
|
:cond_0
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 13
|
|
iget-object v0, p0, Lcom/google/android/gms/tasks/zzw;->b:Lcom/google/android/gms/tasks/zzr;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {v0, p0}, Lcom/google/android/gms/tasks/zzr;->b(Lcom/google/android/gms/tasks/Task;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
return-void
|
|
|
|
.line 19
|
|
:goto_0
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 20
|
|
throw v1
|
|
.end method
|