commit | 2fc44947dd4f45a23c56985d4c12f01332027a9f | [log] [tgz] |
---|---|---|
author | Philip P. Moltmann <moltmann@google.com> | Mon Dec 12 16:44:07 2016 -0800 |
committer | Svetoslav Ganov <svetoslavganov@google.com> | Tue Jan 31 02:50:24 2017 +0000 |
tree | 1924359350fc856df27e7a6f93ae31c0eb531238 | |
parent | 66d545bfe9cbe07c81fd03a8806a1e300b508c06 [diff] |
[DO NOT MERGE] Delay SharedPreferences.apply() by 50 ms ... so that multiple applies can be combined into a single write. Do do this I replaces the executor in the QueuedWork by a more Android-y handler. Test: Ran shared preferences CTS tests. Looked at log and saw a lot of skipped writes Bug: 33385963 Bug: 30662828 Change-Id: I8f33df717be7091532930ccf6ca8c48940e4edd4 (cherry picked from commit 3349644872d9b769f4e2d0ec1b91d368a552ff8d)