summaryrefslogtreecommitdiff
path: root/libs/utils/ZipFileRO.cpp
diff options
context:
space:
mode:
author Brad Fitzpatrick <bradfitz@android.com> 2010-08-17 10:29:15 -0700
committer Brad Fitzpatrick <bradfitz@android.com> 2010-08-17 10:29:15 -0700
commit67fed01522ad26c850b20d2c960e4d392dc401d1 (patch)
treeba6efc9b322dadcb4520548dee4f276328716fb4 /libs/utils/ZipFileRO.cpp
parentb3e957bb9d3a3811412e5d94233c7f7e2e777c28 (diff)
Avoid unnecessary SharedPrefences disk writes.
Apps commonly edit + commit redundant changes to their SharedPreferences, not checking the existing values. Rather than force all apps to double-check that their settings writes aren't redundant, we should just make .commit() faster (avoiding the disk write) when the file already exists on disk and no effective changes were made. Change-Id: I7edbd0d3ace5b69b7af6d12c39797c8b7f86230b
Diffstat (limited to 'libs/utils/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions