commit | fe18b1c6debd24e05f5bd438cc92641c8df82777 | [log] [tgz] |
---|---|---|
author | Etan Cohen <etancohen@google.com> | Thu Feb 15 07:21:20 2018 -0800 |
committer | Etan Cohen <etancohen@google.com> | Thu Feb 15 07:25:32 2018 -0800 |
tree | 579815986f77a6466e2eca68c4afc8be528ed5e9 | |
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