Allow multiple registered GNSS HALs am: 3344506a78
am: 653221fa8e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2962603 Change-Id: I2d8d60bb7ca7f421534c36708fd9913773d9b344 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
18b2aafc9c
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