summaryrefslogtreecommitdiffstats
path: root/core/java/overview.html
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2012-10-18 19:01:01 -0700
committerChristopher Tate <ctate@google.com>2012-10-19 13:43:52 -0700
commit01ed79c5786c527628544828abf8b70d02b989cd (patch)
tree41c81bb2fb3a5cfafc8616d4e2172b7655513034 /core/java/overview.html
parent69b0c974b5abb38a4443410cf09f7d5f28cf2c7f (diff)
downloadframeworks_base-01ed79c5786c527628544828abf8b70d02b989cd.zip
frameworks_base-01ed79c5786c527628544828abf8b70d02b989cd.tar.gz
frameworks_base-01ed79c5786c527628544828abf8b70d02b989cd.tar.bz2
Document immutable requirement of SharedPreferences return objects
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
Diffstat (limited to 'core/java/overview.html')
0 files changed, 0 insertions, 0 deletions