OSDN Git Service

Incorrect response code after pull of invalid vCard handle.
authorStaffan Lindvall <staffan.lindvall.x@sonyericsson.com>
Tue, 7 Dec 2010 13:15:51 +0000 (14:15 +0100)
committerJean-Baptiste Queru <jbq@google.com>
Tue, 28 Dec 2010 19:34:15 +0000 (11:34 -0800)
commit6f02f510e5dc3fb994516128f2de1d78bc7f9b1e
tree9cb5603599d5b3cf7852468eb1d10ab45f71678d
parente7f887dab2591a46ecf80616e00f33bb5d847935
Incorrect response code after pull of invalid vCard handle.

When calling pullVcardEntry with an invalid / non-existing
vCard handle the response code is always "OK".

Instead the phone should respond "NOT FOUND" according
to Bluetooth PBAP specification.

The problem exists both for phonebook and call logs.

Change-Id: I339b1fe0cdb7fa9b6c6b425f1b1686c24cab9626
src/com/android/bluetooth/pbap/BluetoothPbapObexServer.java