commit | 4a53a9edb306d292fe9f1d32801bfd4673801b2f | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Sep 21 18:20:45 2017 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Thu Sep 21 18:20:59 2017 -0600 |
tree | 72324c4fd37067454fedb96a682bc52ce56cd296 | |
parent | 49672b9351eb7e7f2bc655320aabd2fb6bd4c9d7 [diff] |
Be more aggressive about obtaining vold service. vdc is typically invoked very early during boot, where it races with vold starting up. The default getService() implementation waits a whole second between retrying, so write a local getServiceAggressive() that only waits 10ms between attempts. Test: builds, boots Bug: 65737446 Change-Id: I581db3afcf7f81dd7cd9cc84dc03194759861669