| Index: device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java
|
| diff --git a/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java b/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java
|
| index 845026df831491ba945f5fbd3be0768ea1a1f8e2..dd0d261767817f39907388d84d72942b9145e0f5 100644
|
| --- a/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java
|
| +++ b/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java
|
| @@ -91,6 +91,18 @@ final class ChromeBluetoothRemoteGattCharacteristic {
|
| return mCharacteristic.getProperties();
|
| }
|
|
|
| + // Implements BluetoothRemoteGattCharacteristicAndroid::StartNotifySession.
|
| + @CalledByNative
|
| + private boolean startNotifySession() {
|
| + if (!mChromeBluetoothDevice.mBluetoothGatt.setCharacteristicNotification(
|
| + mCharacteristic, true)) {
|
| + Log.i(TAG, "startNotifySession setCharacteristicNotification failed.");
|
| + return false;
|
| + }
|
| + Log.i(TAG, "startNotifySession.");
|
| + return true;
|
| + }
|
| +
|
| // Implements BluetoothRemoteGattCharacteristicAndroid::ReadRemoteCharacteristic.
|
| @CalledByNative
|
| private boolean readRemoteCharacteristic() {
|
|
|