OSDN Git Service

Introduce PersistableBundle
authorCraig Mautner <cmautner@google.com>
Sat, 5 Apr 2014 03:29:41 +0000 (20:29 -0700)
committerCraig Mautner <cmautner@google.com>
Wed, 23 Apr 2014 02:15:33 +0000 (19:15 -0700)
commit719e6b167041ffaffc2245f692714c8de191863f
tree4c78b512918c92b2c071dd18c6e6040878ea22db
parentcaeaa375946f251bea59f79f3ba73104e3f4634d
Introduce PersistableBundle

The PersistableBundle class is similar to Bundle except that only
objects that have meaning across reboots can be stored and there
is a limited number of types that can be stored. More
specifically Binders, FileDescriptors, Parcelables, Booleans,
Bytes, Shorts, Chars, CharSequences, Floats, and ArrayLists
cannot be stored.

Fixes bug 13736007.

Change-Id: If6595b2e6fd92af6b7f60c4f7140ae867c258794
api/current.txt
core/java/android/os/Bundle.java
core/java/android/os/CommonBundle.java [new file with mode: 0644]
core/java/android/os/Parcel.java
core/java/android/os/PersistableBundle.java [new file with mode: 0644]