From: Ajay Panicker Date: Wed, 22 Mar 2017 01:22:04 +0000 (-0700) Subject: Add rejected calls to Incomming Call History X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=52f2f2a6dc254ce5d715a9533f0e6faae3b5c2a1;p=android-x86%2Fpackages-apps-Bluetooth.git Add rejected calls to Incomming Call History Bug: 36490575 Test: Connect to carkit after rejecting a call on test device Change-Id: Ifa3593b5b26e13a3bd6d2b94f744254e3eb353fb --- diff --git a/src/com/android/bluetooth/pbap/BluetoothPbapObexServer.java b/src/com/android/bluetooth/pbap/BluetoothPbapObexServer.java index 54b261ca..823f2226 100644 --- a/src/com/android/bluetooth/pbap/BluetoothPbapObexServer.java +++ b/src/com/android/bluetooth/pbap/BluetoothPbapObexServer.java @@ -1042,7 +1042,8 @@ public class BluetoothPbapObexServer extends ServerRequestHandler { String selection = null; switch (type) { case ContentType.INCOMING_CALL_HISTORY: - selection = Calls.TYPE + "=" + CallLog.Calls.INCOMING_TYPE; + selection = "(" + Calls.TYPE + "=" + CallLog.Calls.INCOMING_TYPE + " OR " + + Calls.TYPE + "=" + CallLog.Calls.REJECTED_TYPE + ")"; break; case ContentType.OUTGOING_CALL_HISTORY: selection = Calls.TYPE + "=" + CallLog.Calls.OUTGOING_TYPE;