diff options
author | markchien <markchien@google.com> | 2020-04-27 11:03:09 +0800 |
---|---|---|
committer | markchien <markchien@google.com> | 2020-04-27 14:47:56 +0800 |
commit | c55343801b051cc1aafdb967475b65731fd45082 (patch) | |
tree | a7d4bb0b934395a15661e0bde1861cadf3d91ba3 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 13d10dac2b95d4ae547267ddd6c21626cfe185a1 (diff) |
Unbreak tethering for no offload supported devices
Catch NoSuchElementException to unbreak no offload devices.
To consistent with fetching offload config service, retry fetcheing
offload control service.
b/152430668#comment4 assert that the fetch will be retried only
if the service is installed on the device.
Bug: 155026033
Test: run TetheringCoverageTests in virtual devices(do not support
offload)
Change-Id: Ie0a32a9062c722327a27c6de13e3bb8d9588bebb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions