commit | 2d81521b293de2cf80151e62200a390410374aa5 | [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 | 08ec3aea283e52224cecbd13b7aaaa89fd4ad09f | |
parent | 42585782b382940ad239ee0a140a1da341547c6c [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