Allow multiple registered GNSS HALs am: 3344506a78
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2962603 Change-Id: Ib6d0d5bd134ac5b2f7992637fb1495544853db1b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
653221fa8e
1 changed files with 1 additions and 2 deletions
|
@ -168,8 +168,7 @@ bool GnssHalTest::IsGnssHalVersion_1_1() const {
|
|||
manager->listManifestByInterface(
|
||||
"android.hardware.gnss@1.1::IGnss",
|
||||
[&hasGnssHalVersion_1_1](const hidl_vec<hidl_string>& registered) {
|
||||
ASSERT_EQ(1, registered.size());
|
||||
hasGnssHalVersion_1_1 = true;
|
||||
hasGnssHalVersion_1_1 = registered.size() != 0;
|
||||
});
|
||||
|
||||
bool hasGnssHalVersion_2_0 = false;
|
||||
|
|
Loading…
Reference in a new issue