summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2020-04-21 22:22:54 +0900
committerLorenzo Colitti <lorenzo@google.com>2020-04-21 22:22:54 +0900
commite87bf543fb17c786a0191bbc7cc67457e2ad94b8 (patch)
tree3bed81b566f492092dd744def12fb255d2b88a7f /tools/aapt2/java/JavaClassGenerator.cpp
parent632092bb287da982bb897ee0545a5ee35218d3c0 (diff)
Retry the call that fetches the tethering offload HAL.
The CL that moved the initialization of the tethering offload config HAL from C++ to Java caused the code not to retry fetching the service if it is not ready when tethering is started. This is because the C++ version of getService() retries, but the Java version only retries if getService(true) is called. Make the new code retry as well. b/152430668#comment4 asserts that the fetch will be retried only if the service is installed on the device, so the retries should be attempted (and thus should not have any startup time impact) on devices that do not support tethering offload. Bug: 152430668 Test: builds, boots, tethering offload works Change-Id: I093f127d90b2aa1b13eb0748378a24726d419472
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions