apkfuckery/com.discord/smali/androidx/browser/trusted/FutureUtils.smali
2020-07-08 16:44:49 +00:00

43 lines
1.1 KiB
Smali

.class public Landroidx/browser/trusted/FutureUtils;
.super Ljava/lang/Object;
.source "FutureUtils.java"
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static immediateFailedFuture(Ljava/lang/Throwable;)Lf/i/b/a/a/a;
.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;",
")",
"Lf/i/b/a/a/a<",
"TT;>;"
}
.end annotation
invoke-static {}, Landroidx/concurrent/futures/ResolvableFuture;->create()Landroidx/concurrent/futures/ResolvableFuture;
move-result-object v0
invoke-virtual {v0, p0}, Landroidx/concurrent/futures/ResolvableFuture;->setException(Ljava/lang/Throwable;)Z
return-object v0
.end method