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

Commit 092e6bd6 authored by Jack Yu's avatar Jack Yu
Browse files

Reduced more verbose Rlog.

bug: 25956251
Change-Id: I53573bc7470783d4b5cfa8eca0f80118e3ff18ed
parent d02f7969
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -677,7 +677,6 @@ public class IccSmsInterfaceManager {
    }

    synchronized public boolean disableGsmBroadcastRange(int startMessageId, int endMessageId) {
        if (DBG) log("disableGsmBroadcastRange");

        Context context = mPhone.getContext();

@@ -704,7 +703,6 @@ public class IccSmsInterfaceManager {
    }

    synchronized public boolean enableCdmaBroadcastRange(int startMessageId, int endMessageId) {
        if (DBG) log("enableCdmaBroadcastRange");

        Context context = mPhone.getContext();

@@ -731,7 +729,6 @@ public class IccSmsInterfaceManager {
    }

    synchronized public boolean disableCdmaBroadcastRange(int startMessageId, int endMessageId) {
        if (DBG) log("disableCdmaBroadcastRange");

        Context context = mPhone.getContext();

+2 −1
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ import static com.android.internal.telephony.RILConstants.*;
public class TelephonyEventLog {
    private static String TAG = "TelephonyEventLog";
    private static final boolean DBG = true;
    private static final boolean VDBG = false; // STOPSHIP if true

    public static final int TAG_SETTINGS = 1;
    public static final int TAG_SERVICE_STATE = 2;
@@ -187,7 +188,7 @@ public class TelephonyEventLog {

    private void writeEvent(long timestamp, int tag, int param1, int param2, Bundle data) {
        if (mService == null) {
            if (DBG) {
            if (VDBG) {
                Log.d(TAG, "writeEvent("+tag+","+param1+","+param2+","+data+")"
                        + " Service not ready");
            }
+3 −2
Original line number Diff line number Diff line
@@ -1026,7 +1026,8 @@ public class DcTracker extends Handler {
            }
            log("initApnContexts: apnContext=" + apnContext);
        }
        log("initApnContexts: X mApnContexts=" + mApnContexts);

        if (VDBG) log("initApnContexts: X mApnContexts=" + mApnContexts);
    }

    public LinkProperties getLinkProperties(String apnType) {
@@ -2455,7 +2456,7 @@ public class DcTracker extends Handler {
                retVal = TelephonyManager.getIntWithSubId(mResolver, Settings.Global.MOBILE_DATA,
                        phoneSubId) != 0;
            }
            if (DBG) log("getDataEnabled: getIntWithSubId retVal=" + retVal);
            if (VDBG) log("getDataEnabled: getIntWithSubId retVal=" + retVal);
        } catch (SettingNotFoundException snfe) {
            retVal = "true".equalsIgnoreCase(
                    SystemProperties.get("ro.com.android.mobiledata", "true"));