diff options
author | Philip P. Moltmann <moltmann@google.com> | 2016-12-12 16:44:07 -0800 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2017-01-31 02:50:24 +0000 |
commit | 2fc44947dd4f45a23c56985d4c12f01332027a9f (patch) | |
tree | 1924359350fc856df27e7a6f93ae31c0eb531238 /tools/aapt2/java/JavaClassGenerator.cpp | |
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)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions