46 lines
1.2 KiB
Smali
46 lines
1.2 KiB
Smali
.class Landroidx/browser/trusted/FutureUtils;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 35
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static immediateFailedFuture(Ljava/lang/Throwable;)Lcom/google/common/util/concurrent/ListenableFuture;
|
|
.locals 1
|
|
.param p0 # Ljava/lang/Throwable;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/lang/Throwable;",
|
|
")",
|
|
"Lcom/google/common/util/concurrent/ListenableFuture;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 30
|
|
invoke-static {}, Landroidx/concurrent/futures/ResolvableFuture;->create()Landroidx/concurrent/futures/ResolvableFuture;
|
|
|
|
move-result-object v0
|
|
|
|
.line 31
|
|
invoke-virtual {v0, p0}, Landroidx/concurrent/futures/ResolvableFuture;->setException(Ljava/lang/Throwable;)Z
|
|
|
|
return-object v0
|
|
.end method
|