Index: device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java |
diff --git a/device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java b/device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java |
index 35fbf0e02a421543adebd3b09b4f824eaa86d60f..65705fa2ac99bee0d5fe68888484fa0d7754b147 100644 |
--- a/device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java |
+++ b/device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java |
@@ -325,6 +325,11 @@ class Fakes { |
} |
@Override |
+ public void close() { |
+ nativeOnFakeBluetoothGattClose(mDevice.mAdapter.mNativeBluetoothTestAndroid); |
+ } |
+ |
+ @Override |
public void discoverServices() { |
nativeOnFakeBluetoothGattDiscoverServices(mDevice.mAdapter.mNativeBluetoothTestAndroid); |
} |
@@ -674,6 +679,9 @@ class Fakes { |
// Binds to BluetoothTestAndroid::OnFakeBluetoothGattDisconnect. |
private static native void nativeOnFakeBluetoothGattDisconnect(long nativeBluetoothTestAndroid); |
+ // Binds to BluetoothTestAndroid::OnFakeBluetoothGattClose. |
+ private static native void nativeOnFakeBluetoothGattClose(long nativeBluetoothTestAndroid); |
+ |
// Binds to BluetoothTestAndroid::OnFakeBluetoothGattDiscoverServices. |
private static native void nativeOnFakeBluetoothGattDiscoverServices( |
long nativeBluetoothTestAndroid); |