diff options
author | Pavlin Radoslavov <pavlin@google.com> | 2017-06-08 16:27:47 -0700 |
---|---|---|
committer | Pavlin Radoslavov <pavlin@google.com> | 2017-06-08 16:59:28 -0700 |
commit | 75d921ee3bba53093facb1d8bc772ddd6483a0db (patch) | |
tree | 9c4be0a9e87290c45d84a4c86eeeb5f567043f13 | |
parent | 8239c5c797b26376ddef46aaae43ae72019873bc (diff) | |
download | Bluetooth-75d921ee3bba53093facb1d8bc772ddd6483a0db.tar.gz |
Initialize the RemoteDevice Class Of Device to UNCATEGORIZED
Bug: 37615863
Test: Manual with LG HBS1100 headset
Change-Id: I0420cd517f77a4c8965c6651a24f97c29ae99f7f
(cherry picked from commit 2c5969fcd9beac52e4218d66f7f47d8ea901647a)
-rw-r--r-- | src/com/android/bluetooth/btservice/RemoteDevices.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/bluetooth/btservice/RemoteDevices.java b/src/com/android/bluetooth/btservice/RemoteDevices.java index 7e70b267e..72f8c2167 100644 --- a/src/com/android/bluetooth/btservice/RemoteDevices.java +++ b/src/com/android/bluetooth/btservice/RemoteDevices.java @@ -113,7 +113,7 @@ final class RemoteDevices { class DeviceProperties { private String mName; private byte[] mAddress; - private int mBluetoothClass; + private int mBluetoothClass = BluetoothClass.Device.Major.UNCATEGORIZED; private short mRssi; private ParcelUuid[] mUuids; private int mDeviceType; |