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

Commit 3269ca6b authored by Wink Saville's avatar Wink Saville
Browse files

Enable a couple more lines of debug in TelephonyRegistry.

Bug: 16148026
Change-Id: I8b934652e47a273fa66a86d031efb24c33c4fe39
parent 8aafb42d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -559,7 +559,7 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub {
            if (validatePhoneId(phoneId)) {
                mServiceState[phoneId] = state;
                for (Record r : mRecords) {
                    // log("notifyServiceStateUsingSubId: r.events=0x" + Integer.toHexString(r.events) + " r.subId=" + r.subId + " subId=" + subId + " state=" + state);
                    log("notifyServiceStateUsingSubId: r.events=0x" + Integer.toHexString(r.events) + " r.subId=" + r.subId + " subId=" + subId + " state=" + state);
                    // FIXME: use DEFAULT_SUB_ID instead??
                    if (((r.events & PhoneStateListener.LISTEN_SERVICE_STATE) != 0) &&
                            (r.subId == subId)) {
@@ -598,7 +598,7 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub {
                log("notifySignalStrengthUsingSubId: valid phoneId=" + phoneId);
                mSignalStrength[phoneId] = signalStrength;
                for (Record r : mRecords) {
                    //log("notifySignalStrengthUsingSubId: r.events=0x" + Integer.toHexString(r.events) + " r.subId=" + r.subId + " subId=" + subId);
                    log("notifySignalStrengthUsingSubId: r.events=0x" + Integer.toHexString(r.events) + " r.subId=" + r.subId + " subId=" + subId);
                    if (((r.events & PhoneStateListener.LISTEN_SIGNAL_STRENGTHS) != 0) &&
                        (r.subId == subId)){
                        try {