Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3488)

Unified Diff: device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java

Issue 1422463012: bluetooth: android: Implement StartNotifySession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed ortuno Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java
diff --git a/device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java b/device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java
index e8e6306a2fa4da5b756de5ce5482c27e1f00ecfc..baeec8e9d8fe5067ca68290a23f06ca73b4d156d 100644
--- a/device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java
+++ b/device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java
@@ -294,6 +294,11 @@ class Wrappers {
return mGatt.readCharacteristic(characteristic.mCharacteristic);
}
+ boolean setCharacteristicNotification(
+ BluetoothGattCharacteristicWrapper characteristic, boolean enable) {
+ return mGatt.setCharacteristicNotification(characteristic.mCharacteristic, enable);
+ }
+
boolean writeCharacteristic(BluetoothGattCharacteristicWrapper characteristic) {
return mGatt.writeCharacteristic(characteristic.mCharacteristic);
}

Powered by Google App Engine
This is Rietveld 408576698