apkfuckery/com.discord/smali/f/a/e/a.smali
2020-05-08 01:11:04 +02:00

101 lines
2 KiB
Smali

.class public final Lf/a/e/a;
.super Ljava/lang/Object;
.source "LocaleProvider.kt"
# static fields
.field public static a:Lkotlin/jvm/functions/Function1;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroid/content/Context;",
"Ljava/util/Locale;",
">;"
}
.end annotation
.end field
.field public static final b:Lf/a/e/a;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lf/a/e/a;
invoke-direct {v0}, Lf/a/e/a;-><init>()V
sput-object v0, Lf/a/e/a;->b:Lf/a/e/a;
sget-object v0, Lf/a/e/a$a;->d:Lf/a/e/a$a;
sput-object v0, Lf/a/e/a;->a:Lkotlin/jvm/functions/Function1;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Landroid/content/Context;)Ljava/util/Locale;
.locals 1
if-eqz p1, :cond_0
sget-object v0, Lf/a/e/a;->a:Lkotlin/jvm/functions/Function1;
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/util/Locale;
return-object p1
:cond_0
const-string p1, "context"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public final a(Lkotlin/jvm/functions/Function1;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroid/content/Context;",
"Ljava/util/Locale;",
">;)V"
}
.end annotation
if-eqz p1, :cond_0
sput-object p1, Lf/a/e/a;->a:Lkotlin/jvm/functions/Function1;
return-void
:cond_0
const-string p1, "provider"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method