apkfuckery/com.discord/smali/f/a/e/a$a.smali

96 lines
2.2 KiB
Smali
Raw Normal View History

2020-11-09 19:03:49 +00:00
.class public final Lf/a/e/a$a;
.super Ly/n/c/k;
2020-05-17 12:40:10 +00:00
.source "LocaleProvider.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-11-09 19:03:49 +00:00
value = Lf/a/e/a;
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2020-11-09 19:03:49 +00:00
"Ly/n/c/k;",
2020-05-17 12:40:10 +00:00
"Lkotlin/jvm/functions/Function1<",
"Landroid/content/Context;",
"Ljava/util/Locale;",
">;"
}
.end annotation
# static fields
2020-11-09 19:03:49 +00:00
.field public static final d:Lf/a/e/a$a;
2020-05-17 12:40:10 +00:00
# direct methods
.method public static constructor <clinit>()V
.locals 1
2020-11-09 19:03:49 +00:00
new-instance v0, Lf/a/e/a$a;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
invoke-direct {v0}, Lf/a/e/a$a;-><init>()V
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
sput-object v0, Lf/a/e/a$a;->d:Lf/a/e/a$a;
2020-05-17 12:40:10 +00:00
return-void
.end method
.method public constructor <init>()V
.locals 1
const/4 v0, 0x1
2020-11-09 19:03:49 +00:00
invoke-direct {p0, v0}, Ly/n/c/k;-><init>(I)V
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
2020-07-08 16:44:49 +00:00
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
2020-05-17 12:40:10 +00:00
check-cast p1, Landroid/content/Context;
2020-09-16 23:45:23 +00:00
const-string v0, "context"
2020-11-09 19:03:49 +00:00
invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object p1
const-string v0, "context.resources"
2020-11-09 19:03:49 +00:00
invoke-static {p1, v0}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
invoke-virtual {p1}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
move-result-object p1
invoke-static {p1}, Landroidx/core/os/ConfigurationCompat;->getLocales(Landroid/content/res/Configuration;)Landroidx/core/os/LocaleListCompat;
move-result-object p1
const/4 v0, 0x0
invoke-virtual {p1, v0}, Landroidx/core/os/LocaleListCompat;->get(I)Ljava/util/Locale;
move-result-object p1
const-string v0, "ConfigurationCompat.getL\u2026sources.configuration)[0]"
2020-11-09 19:03:49 +00:00
invoke-static {p1, v0}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
return-object p1
.end method