Index: device/bluetooth/test/bluetooth_test_android.cc |
diff --git a/device/bluetooth/test/bluetooth_test_android.cc b/device/bluetooth/test/bluetooth_test_android.cc |
index b763733b51d2b31a2dc2215273e6388026634923..b6a533b00d0befe81b0b026fc86e8052f76f950e 100644 |
--- a/device/bluetooth/test/bluetooth_test_android.cc |
+++ b/device/bluetooth/test/bluetooth_test_android.cc |
@@ -73,6 +73,11 @@ bool BluetoothTestAndroid::DenyPermission() { |
return true; |
} |
+void BluetoothTestAndroid::TurnOffLocationServices() { |
+ Java_FakeBluetoothAdapter_turnOffLocationServices( |
+ AttachCurrentThread(), j_fake_bluetooth_adapter_.obj()); |
+} |
+ |
BluetoothDevice* BluetoothTestAndroid::SimulateLowEnergyDevice( |
int device_ordinal) { |
TestBluetoothAdapterObserver observer(adapter_); |