diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2014-11-27 18:28:44 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-11-27 18:28:44 -0800 |
commit | da8b0ee4bbcb32185697d402f41c932adf942419 (patch) | |
tree | 195397d0fe45854c161c2474bf3360aa35f41677 | |
parent | ddf20512704ddedf50c20f0b07152f1a7c3ee6bc (diff) | |
parent | f50e5a75bacdba9158ac7ae1b9d89be536435a24 (diff) | |
download | android_frameworks_opt_bluetooth-stable/cm-12.0-YNG3C.tar.gz android_frameworks_opt_bluetooth-stable/cm-12.0-YNG3C.tar.bz2 android_frameworks_opt_bluetooth-stable/cm-12.0-YNG3C.zip |
Merge "Bluetooth: Do not disconnect pbap client session"staging/cm-12.1stable/cm-12.1-YOG7Dstable/cm-12.1-YOG4Pstable/cm-12.1-YOG3Cstable/cm-12.0-YNG4Nstable/cm-12.0-YNG3Cstable/cm-12.0-YNG1TAstable/cm-12.0-YNG1Tstable/cm-12.0-YNG1Icm-12.1cm-12.0
-rw-r--r-- | src/android/bluetooth/client/pbap/BluetoothPbapRequestPullVcardEntry.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/android/bluetooth/client/pbap/BluetoothPbapRequestPullVcardEntry.java b/src/android/bluetooth/client/pbap/BluetoothPbapRequestPullVcardEntry.java index 009ec15..42b6692 100644 --- a/src/android/bluetooth/client/pbap/BluetoothPbapRequestPullVcardEntry.java +++ b/src/android/bluetooth/client/pbap/BluetoothPbapRequestPullVcardEntry.java @@ -71,7 +71,8 @@ final class BluetoothPbapRequestPullVcardEntry extends BluetoothPbapRequest { Log.v(TAG, "checkResponseCode"); if (mResponse.getCount() == 0) { - if (responseCode != ResponseCodes.OBEX_HTTP_NOT_FOUND) { + if (responseCode != ResponseCodes.OBEX_HTTP_NOT_FOUND && + responseCode != ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE) { throw new IOException("Invalid response received"); } else { Log.v(TAG, "Vcard Entry not found"); |