Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11bf64de authored by Jack He's avatar Jack He
Browse files

PBAP: Disable SIM card contact supported

* In BluetoothPbapObexServer.java's onGet() method, the logic says that
  we do not currently support syncing contacts from SIM card, but yet
  our PBAP SDP record indicates such support.
* When car kits receive such SDP record, they will try getting SIM card
  contacts from us, and we will reply with OBEX_HTTP_NOT_ACCEPTABLE
* This cause certain car kit to disconnect PBAP from us, resulting in
  unfinished phonebook sync

Bug: 67084846
Test: Test connect PBAP to car kit
Change-Id: I0f892714e5f7669224bd696ddc93f7cda2d95e4f
parent 142afcfb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -196,7 +196,7 @@ public class BluetoothPbapService extends ProfileService implements IObexConnect

    private static final int SDP_PBAP_SERVER_VERSION = 0x0102;

    private static final int SDP_PBAP_SUPPORTED_REPOSITORIES = 0x0003;
    private static final int SDP_PBAP_SUPPORTED_REPOSITORIES = 0x0001;

    private static final int SDP_PBAP_SUPPORTED_FEATURES = 0x021F;