commit | 24790343363bd29814b28e5eacfd43216863bee3 | [log] [tgz] |
---|---|---|
author | Enrico Granata <egranata@google.com> | Wed Feb 15 14:46:34 2017 -0800 |
committer | Enrico Granata <egranata@google.com> | Wed Feb 15 16:53:01 2017 -0800 |
tree | 29ad0fce58aef8601f37495fe2a815b1744e2d59 | |
parent | 6d5eb90796446d439bcac16c40854d2cf34450e5 [diff] |
Properly handle implementations of Vehicle HAL that do not support diagnostic properties. OBD2_* properties are not required of a HAL, but DiagnosticHalService was treating them as such. Handle this more reasonably, by providing a DiagnosticCapabilities to clients. Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarInfoManagerTest.java Bug: 35388742 Change-Id: Ia38b5dd8d7d2d3c64c17696eadeac1f6285ad37d