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

Commit f977677f authored by Ajay Panicker's avatar Ajay Panicker
Browse files

Add rejected calls to Incomming Call History

Bug: 36490575
Test: Connect to carkit after rejecting a call on test device
Change-Id: Ifa3593b5b26e13a3bd6d2b94f744254e3eb353fb
parent 1c75df6e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;