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

Commit 8ffc114c authored by Ajay Panicker's avatar Ajay Panicker
Browse files

Remove Vcard filter for call-logs

Timestamps were being incorrectly filtered out of Vcards when sending
call-logs. 

Bug: 25084927
Change-Id: Ied8912e7d2fdbcc6e6980c3773c4ec5a449842ec
parent 7e4252f1
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -623,7 +623,6 @@ public class BluetoothPbapVcardManager {
        HandlerForStringBuffer buffer = null;
        try {

            VCardFilter vcardfilter = new VCardFilter(ignorefilter ? null : filter);
            composer = new BluetoothPbapCallLogComposer(mContext);
            buffer = new HandlerForStringBuffer(op, ownerVCard);
            if (!composer.init(CallLog.Calls.CONTENT_URI, selection, null, CALLLOG_SORT_ORDER)
@@ -638,9 +637,6 @@ public class BluetoothPbapVcardManager {
                    break;
                }
                String vcard = composer.createOneEntry(vcardType21);
                if (vcard != null) {
                    vcard = vcardfilter.apply(vcard, vcardType21);
                }
                if (vcard == null) {
                    Log.e(TAG,
                            "Failed to read a contact. Error reason: " + composer.getErrorReason());