| 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 e1171a12ec8f2b625add587f00bbcf0f343b8dd2..c4944ebc86186dd3d23a7713c1cff534fa31189c 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
|
| @@ -16,6 +16,7 @@ import android.bluetooth.le.ScanSettings;
|
| import android.content.Context;
|
| import android.content.pm.PackageManager;
|
| import android.os.Build;
|
| +import android.os.ParcelUuid;
|
|
|
| import org.chromium.base.CalledByNative;
|
| import org.chromium.base.JNINamespace;
|
| @@ -188,6 +189,10 @@ class Wrappers {
|
| public BluetoothDeviceWrapper getDevice() {
|
| return new BluetoothDeviceWrapper(mScanResult.getDevice());
|
| }
|
| +
|
| + public List<ParcelUuid> getScanRecord_getServiceUuids() {
|
| + return mScanResult.getScanRecord().getServiceUuids();
|
| + }
|
| }
|
|
|
| /**
|
| @@ -204,6 +209,14 @@ class Wrappers {
|
| return mDevice.getAddress();
|
| }
|
|
|
| + public int getBluetoothClass_getDeviceClass() {
|
| + return mDevice.getBluetoothClass().getDeviceClass();
|
| + }
|
| +
|
| + public int getBondState() {
|
| + return mDevice.getBondState();
|
| + }
|
| +
|
| public String getName() {
|
| return mDevice.getName();
|
| }
|
|
|