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

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

Issue 2377513004: bluetooth:android: Return the advertised name if advertising (Closed)
Patch Set: Format' Created 4 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 282faa877e3c0b4d7c62f3ee86d9f6520d49840b..66d6d690c835e37d80e0de210a9770dfab4622f1 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
@@ -241,6 +241,10 @@ class Wrappers {
return mScanResult.getRssi();
}
+ public String getScanRecord_getDeviceName() {
+ return mScanResult.getScanRecord().getDeviceName();
+ }
+
public List<ParcelUuid> getScanRecord_getServiceUuids() {
return mScanResult.getScanRecord().getServiceUuids();
}

Powered by Google App Engine
This is Rietveld 408576698