Allow multiple registered GNSS HALs
Bug: 325210998 Change-Id: I1c5e4e37059b6159ffaff310d2d0dd588d35fd7c Test: atest VtsHalGnssV1_1TargetTest
This commit is contained in:
parent
85e1f5e409
commit
3344506a78
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