Bug:
36490575
Test: Connect to carkit after rejecting a call on test device
Change-Id: Ifa3593b5b26e13a3bd6d2b94f744254e3eb353fb
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;