diff options
author | Etan Cohen <etancohen@google.com> | 2018-02-15 07:21:20 -0800 |
---|---|---|
committer | Etan Cohen <etancohen@google.com> | 2018-02-15 07:25:32 -0800 |
commit | fe18b1c6debd24e05f5bd438cc92641c8df82777 (patch) | |
tree | 579815986f77a6466e2eca68c4afc8be528ed5e9 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a3850365af7d01af264fdaa4ac9d0a91c0db57cf (diff) |
[RTT] Fix legacy API crash on invalid RTT results
Legacy RTT API permitted access of results (e.g. distance) even
when the measurement failed - the new API throws an exception.
Add checks to the translation code (from new to legacy) so that
exceptions aren't thrown - results are simply 0.
Bug: 73297815
Test: builds, integration test is being developed
Change-Id: I8286e36afe5597cc372e65b75f03a382ca0cd2b3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions