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

Commit 6b772309 authored by Tyler Gunn's avatar Tyler Gunn Committed by Android (Google) Code Review
Browse files

Merge "Ensure phone state broadcast does not include 3p app addresses." into pi-dev

parents 7233feda 054e6667
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -106,7 +106,9 @@ final class PhoneStateBroadcaster extends CallsManagerListenerBase {
        mCurrentState = phoneState;

        String callHandle = null;
        if (call.getHandle() != null) {
        // Only report phone numbers in phone state broadcast for regular mobile calls; do not
        // include numbers from 3rd party apps.
        if (!call.isSelfManaged() && call.getHandle() != null) {
            callHandle = call.getHandle().getSchemeSpecificPart();
        }