152 lines
4.2 KiB
Smali
152 lines
4.2 KiB
Smali
.class public final Landroidx/core/content/k;
|
|
.super Ljava/lang/Object;
|
|
.source "SharedPreferences.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
|
value = "SMAP\nSharedPreferences.kt\nKotlin\n*S Kotlin\n*F\n+ 1 SharedPreferences.kt\nandroidx/core/content/SharedPreferencesKt\n*L\n1#1,51:1\n43#1,8:52\n*E\n"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\u001a0\u0010\u0008\u001a\u00020\u0005*\u00020\u00002\u0008\u0008\u0002\u0010\u0002\u001a\u00020\u00012\u0017\u0010\u0007\u001a\u0013\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00050\u0003\u00a2\u0006\u0002\u0008\u0006H\u0087\u0008\u00a8\u0006\t"
|
|
}
|
|
d2 = {
|
|
"Landroid/content/SharedPreferences;",
|
|
"",
|
|
"commit",
|
|
"Lkotlin/Function1;",
|
|
"Landroid/content/SharedPreferences$Editor;",
|
|
"Lkotlin/d1;",
|
|
"Lkotlin/ExtensionFunctionType;",
|
|
"action",
|
|
"a",
|
|
"core-ktx_release"
|
|
}
|
|
k = 0x2
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public static final a(Landroid/content/SharedPreferences;ZLej/l;)V
|
|
.locals 1
|
|
.param p0 # Landroid/content/SharedPreferences;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Lej/l;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"ApplySharedPref"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/content/SharedPreferences;",
|
|
"Z",
|
|
"Lej/l<",
|
|
"-",
|
|
"Landroid/content/SharedPreferences$Editor;",
|
|
"Lkotlin/d1;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$edit"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "action"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-interface {p0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "editor"
|
|
|
|
.line 2
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-interface {p2, p0}, Lej/l;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 3
|
|
invoke-interface {p0}, Landroid/content/SharedPreferences$Editor;->commit()Z
|
|
|
|
goto :goto_0
|
|
|
|
.line 4
|
|
:cond_0
|
|
invoke-interface {p0}, Landroid/content/SharedPreferences$Editor;->apply()V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic b(Landroid/content/SharedPreferences;ZLej/l;ILjava/lang/Object;)V
|
|
.locals 0
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"ApplySharedPref"
|
|
}
|
|
.end annotation
|
|
|
|
and-int/lit8 p3, p3, 0x1
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
:cond_0
|
|
const-string p3, "$this$edit"
|
|
|
|
.line 1
|
|
invoke-static {p0, p3}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string p3, "action"
|
|
|
|
invoke-static {p2, p3}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
invoke-interface {p0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p3, "editor"
|
|
|
|
.line 3
|
|
invoke-static {p0, p3}, Lkotlin/jvm/internal/f0;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-interface {p2, p0}, Lej/l;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 4
|
|
invoke-interface {p0}, Landroid/content/SharedPreferences$Editor;->commit()Z
|
|
|
|
goto :goto_0
|
|
|
|
.line 5
|
|
:cond_1
|
|
invoke-interface {p0}, Landroid/content/SharedPreferences$Editor;->apply()V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|