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

Commit 2f5d7186 authored by Amit Mahajan's avatar Amit Mahajan Committed by Android Git Automerger
Browse files

am 7b960c8a: Hide sensitive payload from logging.

* commit '7b960c8a':
  Hide sensitive payload from logging.
parents 6b4d4c9a 7b960c8a
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -2635,6 +2635,9 @@ public final class RIL extends BaseCommands implements CommandsInterface {
            case RIL_REQUEST_GET_IMSI:
            case RIL_REQUEST_GET_IMEI:
            case RIL_REQUEST_GET_IMEISV:
            case RIL_REQUEST_SIM_OPEN_CHANNEL:
            case RIL_REQUEST_SIM_TRANSMIT_APDU_CHANNEL:

                if (!RILJ_LOGV) {
                    // If not versbose logging just return and don't display IMSI and IMEI, IMEISV
                    return "";
@@ -2906,7 +2909,7 @@ public final class RIL extends BaseCommands implements CommandsInterface {
                break;

            case RIL_UNSOL_STK_PROACTIVE_COMMAND:
                if (RILJ_LOGD) unsljLogRet(response, ret);
                if (RILJ_LOGD) unsljLog(response);

                if (mCatProCmdRegistrant != null) {
                    mCatProCmdRegistrant.notifyRegistrant(
@@ -2915,7 +2918,7 @@ public final class RIL extends BaseCommands implements CommandsInterface {
                break;

            case RIL_UNSOL_STK_EVENT_NOTIFY:
                if (RILJ_LOGD) unsljLogRet(response, ret);
                if (RILJ_LOGD) unsljLog(response);

                if (mCatEventRegistrant != null) {
                    mCatEventRegistrant.notifyRegistrant(