diff options
author | Philip P. Moltmann <moltmann@google.com> | 2017-02-14 16:39:22 -0800 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2017-02-15 11:27:27 -0800 |
commit | a211bc1a03ba117bff7e0376f1973066de918f51 (patch) | |
tree | 900a010df71976605732104316556ecd12f7ffd3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 82b902204f059dcf7c8b073394b08c1925dacef4 (diff) |
Process queuedWork on main thread and add logging
- The queued work processing thread might be sleeping while the main
thread is waiting for it to do work. Hence process the work in the main
thread.
- Carefully add logging so that slowness can be tracked.
- Fix usage of the wrong lock (sWork instead of sLock).
- Increase the time of the delay between apply and write to make
possible side-effects more visible
Test: SharedPrefencesTest, looked at logging
Bug: 30662828
Change-Id: Ie8a5d531e180dacec29c947ba0b59b170facf782
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions