diff options
author | Philip P. Moltmann <moltmann@google.com> | 2016-12-12 16:44:07 -0800 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2016-12-14 15:48:39 -0800 |
commit | 3349644872d9b769f4e2d0ec1b91d368a552ff8d (patch) | |
tree | 7ad8fdb9a5583fa29331aa2ee21c3fab782f4a07 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 0c57bd90b6bfb7b925bc1ad1e2ab94d70d5830a5 (diff) |
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
Change-Id: I8f33df717be7091532930ccf6ca8c48940e4edd4
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions