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 43299bcf31e5db8ee69210b789a7bae28078edee..522cd61eb2523e93494c727cca71fe8eda5a9e71 100644 |
--- a/device/bluetooth/test/bluetooth_test_android.cc |
+++ b/device/bluetooth/test/bluetooth_test_android.cc |
@@ -356,4 +356,11 @@ void BluetoothTestAndroid::OnFakeBluetoothGattWriteDescriptor( |
base::android::JavaByteArrayToByteVector(env, value, &last_write_value_); |
} |
+void BluetoothTestAndroid::OnFakeAdapterStateChanged( |
+ JNIEnv* env, |
+ const JavaParamRef<jobject>& caller, |
+ const bool powered) { |
+ adapter_->NotifyAdapterStateChanged(powered); |
+} |
+ |
} // namespace device |