96 lines
2.4 KiB
Smali
96 lines
2.4 KiB
Smali
.class public final Landroidx/core/app/GrammaticalInflectionManagerCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/core/app/GrammaticalInflectionManagerCompat$Api34Impl;,
|
|
Landroidx/core/app/GrammaticalInflectionManagerCompat$GrammaticalGender;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final GRAMMATICAL_GENDER_FEMININE:I = 0x2
|
|
|
|
.field public static final GRAMMATICAL_GENDER_MASCULINE:I = 0x3
|
|
|
|
.field public static final GRAMMATICAL_GENDER_NEUTRAL:I = 0x1
|
|
|
|
.field public static final GRAMMATICAL_GENDER_NOT_SPECIFIED:I
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 80
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static getApplicationGrammaticalGender(Landroid/content/Context;)I
|
|
.locals 2
|
|
.param p0 # Landroid/content/Context;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/AnyThread;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/OptIn;
|
|
markerClass = {
|
|
Landroidx/core/os/BuildCompat$PrereleaseSdkCheck;
|
|
}
|
|
.end annotation
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x22
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 93
|
|
invoke-static {p0}, Landroidx/core/app/GrammaticalInflectionManagerCompat$Api34Impl;->getApplicationGrammaticalGender(Landroid/content/Context;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static setRequestedApplicationGrammaticalGender(Landroid/content/Context;I)V
|
|
.locals 2
|
|
.param p0 # Landroid/content/Context;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/AnyThread;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/OptIn;
|
|
markerClass = {
|
|
Landroidx/core/os/BuildCompat$PrereleaseSdkCheck;
|
|
}
|
|
.end annotation
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x22
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 111
|
|
invoke-static {p0, p1}, Landroidx/core/app/GrammaticalInflectionManagerCompat$Api34Impl;->setRequestedApplicationGrammaticalGender(Landroid/content/Context;I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|