Files
rr3-apk/decompiled/sources/androidx/core/os/PersistableBundleKt.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

35 lines
1.6 KiB
Java

package androidx.core.os;
import android.os.PersistableBundle;
import androidx.annotation.RequiresApi;
import java.util.Map;
import kotlin.Pair;
import kotlin.jvm.internal.SourceDebugExtension;
@SourceDebugExtension({"SMAP\nPersistableBundle.kt\nKotlin\n*S Kotlin\n*F\n+ 1 PersistableBundle.kt\nandroidx/core/os/PersistableBundleKt\n+ 2 _Arrays.kt\nkotlin/collections/ArraysKt___ArraysKt\n*L\n1#1,152:1\n13579#2,2:153\n*S KotlinDebug\n*F\n+ 1 PersistableBundle.kt\nandroidx/core/os/PersistableBundleKt\n*L\n34#1:153,2\n*E\n"})
/* loaded from: classes.dex */
public final class PersistableBundleKt {
@RequiresApi(21)
public static final PersistableBundle persistableBundleOf(Pair... pairArr) {
PersistableBundle createPersistableBundle = PersistableBundleApi21ImplKt.createPersistableBundle(pairArr.length);
for (Pair pair : pairArr) {
PersistableBundleApi21ImplKt.putValue(createPersistableBundle, (String) pair.component1(), pair.component2());
}
return createPersistableBundle;
}
@RequiresApi(21)
public static final PersistableBundle persistableBundleOf() {
return PersistableBundleApi21ImplKt.createPersistableBundle(0);
}
@RequiresApi(21)
public static final PersistableBundle toPersistableBundle(Map<String, ? extends Object> map) {
PersistableBundle createPersistableBundle = PersistableBundleApi21ImplKt.createPersistableBundle(map.size());
for (Map.Entry<String, ? extends Object> entry : map.entrySet()) {
PersistableBundleApi21ImplKt.putValue(createPersistableBundle, entry.getKey(), entry.getValue());
}
return createPersistableBundle;
}
}