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

Commit 2eb3afb6 authored by Rakesh Iyer's avatar Rakesh Iyer Committed by Android (Google) Code Review
Browse files

Merge "Don't leak PII into the logs." into lmp-dev

parents 96410a8a e7890cfa
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -574,10 +574,10 @@ public class BluetoothPbapVcardManager {
                                + composer.getErrorReason());
                                + composer.getErrorReason());
                        return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
                        return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
                    }
                    }
                    Log.v (TAG , "vCard from composer: " + vcard);
                    if (V) Log.v (TAG , "vCard from composer: " + vcard);
                    if (!ignorefilter) {
                    if (!ignorefilter) {
                        vcard = vcardfilter.applyFilter(vcard, vcardType21);
                        vcard = vcardfilter.applyFilter(vcard, vcardType21);
                        Log.v (TAG , "vCard on applying filter: " + vcard);
                        if (V) Log.v (TAG , "vCard on applying filter: " + vcard);
                    }
                    }
                    vcard = StripTelephoneNumber(vcard);
                    vcard = StripTelephoneNumber(vcard);
                    if (V) {
                    if (V) {
@@ -663,7 +663,7 @@ public class BluetoothPbapVcardManager {
                    Vcard = Vcard.concat(attr[i] + "\n");
                    Vcard = Vcard.concat(attr[i] + "\n");
                }
                }
            }
            }
        Log.v(TAG, "Vcard with stripped telephone no.: " + Vcard);
        if (V) Log.v(TAG, "Vcard with stripped telephone no.: " + Vcard);
        return Vcard;
        return Vcard;
    }
    }