OSDN Git Service

Do not write if apply() did not change the file.
authorPhilip P. Moltmann <moltmann@google.com>
Wed, 14 Dec 2016 00:32:06 +0000 (16:32 -0800)
committerSvetoslav Ganov <svetoslavganov@google.com>
Fri, 13 Jan 2017 00:43:30 +0000 (16:43 -0800)
commit1f99f81bdc5e8430717def157f4abe1176d6a88e
tree02da2fe777f4c7658522929c5a68428d40d5e3a2
parentd15c4f1da58de847ebdecdfade96d21ba8128929
Do not write if apply() did not change the file.

Bug: 33385963
Test: SharedPreferences CTS tests
Change-Id: I39955f8fbcdaa54faa539a3c503e12cb00808136
core/java/android/app/SharedPreferencesImpl.java