diff --git a/telephony/java/android/telephony/PhoneNumberUtils.java b/telephony/java/android/telephony/PhoneNumberUtils.java index b089387aabd1a..962a600360b89 100644 --- a/telephony/java/android/telephony/PhoneNumberUtils.java +++ b/telephony/java/android/telephony/PhoneNumberUtils.java @@ -1857,9 +1857,6 @@ public class PhoneNumberUtils // to the list. number = extractNetworkPortionAlt(number); - Rlog.d(LOG_TAG, "subId:" + subId + ", defaultCountryIso:" + - ((defaultCountryIso == null) ? "NULL" : defaultCountryIso)); - String emergencyNumbers = ""; int slotId = SubscriptionManager.getSlotId(subId); @@ -1869,7 +1866,8 @@ public class PhoneNumberUtils emergencyNumbers = SystemProperties.get(ecclist, ""); - Rlog.d(LOG_TAG, "slotId:" + slotId + ", emergencyNumbers: " + emergencyNumbers); + Rlog.d(LOG_TAG, "slotId:" + slotId + " subId:" + subId + " country:" + + defaultCountryIso + " emergencyNumbers: " + emergencyNumbers); if (TextUtils.isEmpty(emergencyNumbers)) { // then read-only ecclist property since old RIL only uses this diff --git a/telephony/java/android/telephony/ServiceState.java b/telephony/java/android/telephony/ServiceState.java index c680999e6fb9b..ad007c6486177 100644 --- a/telephony/java/android/telephony/ServiceState.java +++ b/telephony/java/android/telephony/ServiceState.java @@ -37,6 +37,7 @@ public class ServiceState implements Parcelable { static final String LOG_TAG = "PHONE"; static final boolean DBG = true; + static final boolean VDBG = false; // STOPSHIP if true /** * Normal operation condition, the phone is registered @@ -829,7 +830,7 @@ public class ServiceState implements Parcelable { /** @hide */ public void setDataRegState(int state) { mDataRegState = state; - if (DBG) Rlog.d(LOG_TAG, "[ServiceState] setDataRegState=" + mDataRegState); + if (VDBG) Rlog.d(LOG_TAG, "[ServiceState] setDataRegState=" + mDataRegState); } public void setRoaming(boolean roaming) { @@ -1017,7 +1018,8 @@ public class ServiceState implements Parcelable { /** @hide */ public void setRilDataRadioTechnology(int rt) { this.mRilDataRadioTechnology = rt; - if (DBG) Rlog.d(LOG_TAG, "[ServiceState] setDataRadioTechnology=" + mRilDataRadioTechnology); + if (VDBG) Rlog.d(LOG_TAG, "[ServiceState] setRilDataRadioTechnology=" + + mRilDataRadioTechnology); } /** @hide */