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

Commit c3ec7d48 authored by Jack Yu's avatar Jack Yu
Browse files

Removed unused PII from TelephonyEventLog

Removed the PII captured during call origination even
though it is not used or sent to the server at all.

bug: 30000046
Change-Id: I1f54fda0b4390c78dc6848b66d9a9ed19737ec7d
parent 48921d86
Loading
Loading
Loading
Loading
+4 −10
Original line number Diff line number Diff line
@@ -137,8 +137,6 @@ public class TelephonyEventLog extends ConnectivityMetricsLogger {
    public static final String DATA_KEY_SMS_MESSAGE_REF = "messageRef";
    public static final String DATA_KEY_SMS_ACK_PDU = "ackPDU";
    public static final String DATA_KEY_SMS_ERROR_CODE = "errorCode";
    public static final String DATA_KEY_CALLEE = "callee";
    public static final String DATA_KEY_PARTICIPANTS = "participants";
    public static final String DATA_KEY_SRC_TECH = "src-tech";
    public static final String DATA_KEY_TARGET_TECH = "target-tech";

@@ -508,16 +506,12 @@ public class TelephonyEventLog extends ConnectivityMetricsLogger {
        return null;
    }

    public void writeOnImsCallStart(ImsCallSession session, String callee) {
        Bundle b = new Bundle();
        b.putString(DATA_KEY_CALLEE, callee);
        writeEvent(TAG_IMS_CALL_START, getCallId(session), -1, b);
    public void writeOnImsCallStart(ImsCallSession session) {
        writeEvent(TAG_IMS_CALL_START, getCallId(session), -1, null);
    }

    public void writeOnImsCallStartConference(ImsCallSession session, String[] participants) {
        Bundle b = new Bundle();
        b.putStringArray(DATA_KEY_PARTICIPANTS, participants);
        writeEvent(TAG_IMS_CALL_START_CONFERENCE, getCallId(session), -1, b);
    public void writeOnImsCallStartConference(ImsCallSession session) {
        writeEvent(TAG_IMS_CALL_START_CONFERENCE, getCallId(session), -1, null);
    }

    public void writeOnImsCallReceive(ImsCallSession session) {
+1 −1
Original line number Diff line number Diff line
@@ -572,7 +572,7 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
                    callees, mImsCallListener);
            conn.setImsCall(imsCall);

            mEventLog.writeOnImsCallStart(imsCall.getSession(), callees[0]);
            mEventLog.writeOnImsCallStart(imsCall.getSession());

            setVideoCallProvider(conn, imsCall);
            conn.setAllowAddCallDuringVideoCall(mAllowAddCallDuringVideoCall);