| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I26e7a02a18d802902fca6892bed77b4f98ccf3ee
|
|\
| |
| |
| | |
Change-Id: Id5c5997ad8f801b32e1dbd97413ea42e38c27210
|
| |
| |
| |
| |
| |
| |
| | |
(This is partial, but should cover everything in AOSP master except
for the zygote.)
Change-Id: I1042c99245765746a744c44e714095cb2c6cb75d
|
|\ \
| |/
| |
| |
| |
| |
| | |
preference puts with "null" values."
* commit '909427d093c30d2d4f4ffe5da19f1db6c3e9a3b3':
Fix preference puts with "null" values.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Null values were being written out as <null /> elements in the
XML prefs file (as expected). This allowed the getFoo() functions
to work correctly because they treated null values as missing mappings
but containsKey would fail.
bug: https://code.google.com/p/android/issues/detail?id=64563
Change-Id: I1f466d01db96bf26e208d4fed3a6f257228bea5d
|
|/
|
|
| |
Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In particular, make it quite clear that the set returned by
getStringSet() must not be modfied by the app, period; and
add a similar caution about the map returned via getAll().
Also, fix a bug that could lead to unexpected data being committed
if the set instance passed to putStringSet() was mutated by the
app after that call (including mutations after commit() was
invoked).
Bug 7312641
Change-Id: If9a1be1b0669ac879ff7a7dc67a8805548ea10cc
|
|
|
|
|
|
|
|
| |
Remove the last user of FileUtils#getFileStatus and move it to
Libcore.os.stat instead. Then we can remove the JNI code that does the
equivalent of a stat.
Change-Id: Ieb566a2a8a17c2dd0150724b4eb3ac1cc41c823d
|
|
|
|
|
|
| |
...via BufferedInputStream
Change-Id: Ic14eff1e53b6f4a0de5f59bd97cd390eb908e3c6
|
|
|
|
|
| |
Bug: 3177046
Change-Id: Ibc36a1e196afd39c4f9da513a2bf4ba9e2c72177
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously reads were only cached once a write occurred because
loading didn't set the stat metadata, thus the
sp.hasFileChangedUnexpectedly() check always fired on reading.
Now the initial read populates the stat info, so getSharedPreference()
repeatedly bypasses reading from disk, even wtihout writes.
This was probably a regression from apply() being added in
Gingerbread.
Bug: 3211034
Change-Id: Ifa0bbb27c53a4099544950a4f822fab1fc23a47d
|
|
Change-Id: I3a58ec4c9501e906c133e841b5c5ec6bced04a02
|