diff options
author | Daichi Hirono <hirono@google.com> | 2016-02-26 17:41:45 +0900 |
---|---|---|
committer | Daichi Hirono <hirono@google.com> | 2016-03-01 13:51:06 +0900 |
commit | 2e9a57b0d4839b322787dad36bfcb64f211f7ac4 (patch) | |
tree | ae2c9c6c8c6d9aa9281eddb0c48693706f0ff18e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 52cdc1593aab9336ad06cfe54cd06ca42ab3837e (diff) |
Fix RootScanner to execute scan at least once before cancelling it.
Previously RootScanner is implemented by FutureTask, and if it is
cancelled before it starts running in background thread, the scan will
be never executed.
The CL stops using FutureTask and introduces CountDownLatch to control
UpdateRootsRunnable.
BUG=27369585
Change-Id: Ica8799faba0a8e5ca91a6b8be36dc4f5118d6333
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions