diff --git a/bluetooth/finder/aidl/vts/VtsHalBluetoothFinderTargetTest.cpp b/bluetooth/finder/aidl/vts/VtsHalBluetoothFinderTargetTest.cpp index be07a7db24..fee9e24200 100644 --- a/bluetooth/finder/aidl/vts/VtsHalBluetoothFinderTargetTest.cpp +++ b/bluetooth/finder/aidl/vts/VtsHalBluetoothFinderTargetTest.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -71,6 +72,12 @@ ScopedAStatus BluetoothFinderTest::getPoweredOffFinderMode(bool* status) { return bluetooth_finder->getPoweredOffFinderMode(status); } +TEST_P(BluetoothFinderTest, PropertyIsSet) { + ASSERT_EQ( + android::base::GetProperty("ro.bluetooth.finder.supported", "false"), + "true"); +} + TEST_P(BluetoothFinderTest, SendEidsSingle) { ScopedAStatus status = sendEids(1); ASSERT_TRUE(status.isOk());