Merge "Add javadoc for (Persistable)Bundle.EMPTY" into sc-dev am: e1127fccde
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13425151 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I6f507b19dc26011b1cbc85f59418cf0d395ace9e
This commit is contained in:
@@ -45,6 +45,7 @@ public final class Bundle extends BaseBundle implements Cloneable, Parcelable {
|
|||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
static final int FLAG_ALLOW_FDS = 1 << 10;
|
static final int FLAG_ALLOW_FDS = 1 << 10;
|
||||||
|
|
||||||
|
/** An unmodifiable {@code Bundle} that is always {@link #isEmpty() empty}. */
|
||||||
public static final Bundle EMPTY;
|
public static final Bundle EMPTY;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ import java.util.ArrayList;
|
|||||||
public final class PersistableBundle extends BaseBundle implements Cloneable, Parcelable,
|
public final class PersistableBundle extends BaseBundle implements Cloneable, Parcelable,
|
||||||
XmlUtils.WriteMapCallback {
|
XmlUtils.WriteMapCallback {
|
||||||
private static final String TAG_PERSISTABLEMAP = "pbundle_as_map";
|
private static final String TAG_PERSISTABLEMAP = "pbundle_as_map";
|
||||||
|
|
||||||
|
/** An unmodifiable {@code PersistableBundle} that is always {@link #isEmpty() empty}. */
|
||||||
public static final PersistableBundle EMPTY;
|
public static final PersistableBundle EMPTY;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
|||||||
Reference in New Issue
Block a user