commit | c6f429007c2c402be71f69693cb1d2e6a1c8d0cf | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Wed Jan 08 11:58:32 2014 +0000 |
committer | Narayan Kamath <narayan@google.com> | Wed Jan 08 12:04:53 2014 +0000 |
tree | 3fbc83568fc04b9c526f2342cc29be227220f010 | |
parent | 517e9b11d53609d59c60d22dc085e7f9fd442248 [diff] |
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