Files
rr3-apk/smali/androidx/core/content/SharedPreferencesKt.smali
supermegamestre 4bbd74a497 First Upload
Just the APK
Force update disabled, will only work offline.
2026-01-26 00:26:29 -03:00

80 lines
1.9 KiB
Smali

.class public final Landroidx/core/content/SharedPreferencesKt;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static final edit(Landroid/content/SharedPreferences;ZLkotlin/jvm/functions/Function1;)V
.locals 0
.annotation build Landroid/annotation/SuppressLint;
value = {
"ApplySharedPref"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/SharedPreferences;",
"Z",
"Lkotlin/jvm/functions/Function1;",
")V"
}
.end annotation
.line 45
invoke-interface {p0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object p0
.line 46
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
if-eqz p1, :cond_0
.line 48
invoke-interface {p0}, Landroid/content/SharedPreferences$Editor;->commit()Z
goto :goto_0
.line 50
:cond_0
invoke-interface {p0}, Landroid/content/SharedPreferences$Editor;->apply()V
:goto_0
return-void
.end method
.method public static synthetic edit$default(Landroid/content/SharedPreferences;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
.locals 0
and-int/lit8 p3, p3, 0x1
if-eqz p3, :cond_0
const/4 p1, 0x0
.line 45
:cond_0
invoke-interface {p0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object p0
.line 46
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
if-eqz p1, :cond_1
.line 48
invoke-interface {p0}, Landroid/content/SharedPreferences$Editor;->commit()Z
goto :goto_0
.line 50
:cond_1
invoke-interface {p0}, Landroid/content/SharedPreferences$Editor;->apply()V
:goto_0
return-void
.end method