Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make getSharedPreference() async, blocking on first access. | Brad Fitzpatrick | 2010-12-07 | 1 | -26/+106 |
| | | | | | Bug: 3177046 Change-Id: Ibc36a1e196afd39c4f9da513a2bf4ba9e2c72177 | ||||
* | Don't re-read SharedPreferences unnecessarily. | Brad Fitzpatrick | 2010-11-19 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | 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 | ||||
* | Move SharedPreferencesImpl out of ContextImpl.java | Brad Fitzpatrick | 2010-11-10 | 1 | -0/+518 |
Change-Id: I3a58ec4c9501e906c133e841b5c5ec6bced04a02 |