79 lines
2.0 KiB
Smali
79 lines
2.0 KiB
Smali
.class public final Lcom/vungle/ads/internal/util/ConcurrencyTimeoutProvider;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/vungle/ads/internal/util/ConcurrencyTimeoutProvider$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final Companion:Lcom/vungle/ads/internal/util/ConcurrencyTimeoutProvider$Companion;
|
|
|
|
.field private static final OPERATION_TIMEOUT:J
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
new-instance v0, Lcom/vungle/ads/internal/util/ConcurrencyTimeoutProvider$Companion;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lcom/vungle/ads/internal/util/ConcurrencyTimeoutProvider$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lcom/vungle/ads/internal/util/ConcurrencyTimeoutProvider;->Companion:Lcom/vungle/ads/internal/util/ConcurrencyTimeoutProvider$Companion;
|
|
|
|
.line 11
|
|
sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
const-wide/16 v1, 0x4
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
|
|
|
move-result-wide v0
|
|
|
|
sput-wide v0, Lcom/vungle/ads/internal/util/ConcurrencyTimeoutProvider;->OPERATION_TIMEOUT:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 6
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getTimeout()J
|
|
.locals 2
|
|
|
|
.line 23
|
|
sget-object v0, Lcom/vungle/ads/internal/util/ThreadUtil;->INSTANCE:Lcom/vungle/ads/internal/util/ThreadUtil;
|
|
|
|
invoke-virtual {v0}, Lcom/vungle/ads/internal/util/ThreadUtil;->isMainThread()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
sget-wide v0, Lcom/vungle/ads/internal/util/ConcurrencyTimeoutProvider;->OPERATION_TIMEOUT:J
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-wide v0, 0x7fffffffffffffffL
|
|
|
|
:goto_0
|
|
return-wide v0
|
|
.end method
|