commit | 2e9a57b0d4839b322787dad36bfcb64f211f7ac4 | [log] [tgz] |
---|---|---|
author | Daichi Hirono <hirono@google.com> | Fri Feb 26 17:41:45 2016 +0900 |
committer | Daichi Hirono <hirono@google.com> | Tue Mar 01 13:51:06 2016 +0900 |
tree | ae2c9c6c8c6d9aa9281eddb0c48693706f0ff18e | |
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