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

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

Issue 1423093003: bluetooth: android: BluetoothRemoteGattCharacteristicAndroid::GetProperties() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bta-getuuid-
Patch Set: merge tot Created 5 years, 2 months 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
« no previous file with comments | « no previous file | device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fbb79620a4ca86e4ed09920939aca4aff8953b1b..814602fe3eb53ee816a3b2149bc643d03732421d 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
@@ -44,4 +44,11 @@ final class ChromeBluetoothRemoteGattCharacteristic {
private String getUUID() {
return mCharacteristic.getUuid().toString();
}
+
+ // Implements BluetoothRemoteGattCharacteristicAndroid::GetProperties.
+ @CalledByNative
+ private int getProperties() {
+ // TODO(scheib): Must read Extended Properties Descriptor. crbug.com/548449
+ return mCharacteristic.getProperties();
+ }
}
« no previous file with comments | « no previous file | device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698