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

Commit f68b500b authored by Joe Onorato's avatar Joe Onorato
Browse files

Remove a bunch of logging.

Change-Id: I81a9a5d94b1652133d7b1700da55f982038f6b56
parent c45389fd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -668,7 +668,8 @@ public class PhoneStatusBarPolicy {
            if ((mPhoneState == TelephonyManager.CALL_STATE_IDLE) && isEvdo()){
                iconLevel = getEvdoLevel();
                if (false) {
                    Slog.d(TAG, "use Evdo level=" + iconLevel + " to replace Cdma Level=" + getCdmaLevel());
                    Slog.d(TAG, "use Evdo level=" + iconLevel + " to replace Cdma Level="
                            + getCdmaLevel());
                }
            } else {
                iconLevel = getCdmaLevel();
+0 −1
Original line number Diff line number Diff line
@@ -55,7 +55,6 @@ public class AirplaneModeController extends BroadcastReceiver
    }

    public void onCheckedChanged(CompoundButton view, boolean checked) {
        Slog.d(TAG, "onCheckedChanged checked=" + checked + " mAirplaneMode=" + mAirplaneMode);
        if (checked != mAirplaneMode) {
            mAirplaneMode = checked;
            unsafe(checked);
+0 −1
Original line number Diff line number Diff line
@@ -47,7 +47,6 @@ public class KeyButtonView extends ImageView {
    int mRepeat;
    Runnable mCheckLongPress = new Runnable() {
        public void run() {
            Slog.d("KeyButtonView", "longpress");
            if (isPressed()) {
                mLongPressed = true;
                mRepeat++;
+2 −3
Original line number Diff line number Diff line
@@ -73,12 +73,10 @@ public class HeightReceiver extends BroadcastReceiver {
    private void setPlugged(boolean plugged) {
        final Resources res = mContext.getResources();

        Slog.d(TAG, "plugged=" + plugged);
        int height = -1;
        if (plugged) {
            final DisplayMetrics metrics = new DisplayMetrics();
            mWindowManager.getDefaultDisplay().getMetrics(metrics);
            Slog.d(TAG, "metrics=" + metrics);
            height = metrics.heightPixels - 720;
        }

@@ -87,7 +85,8 @@ public class HeightReceiver extends BroadcastReceiver {
        if (height < minHeight) {
            height = minHeight;
        }
        Slog.d(TAG, "using height=" + height + " old=" + mHeight);
        Slog.i(TAG, "Resizing status bar plugged=" + plugged + " height="
                + height + " old=" + mHeight);
        mHeight = height;

        final int N = mListeners.size();
+2 −1
Original line number Diff line number Diff line
@@ -269,7 +269,8 @@ public class NotificationPanel extends RelativeLayout implements StatusBarPanel,
                // fully closed, no animation necessary
            } else if (mVisible) {
                if (DEBUG) {
                    Slog.d(TAG, "panelHeight not zero but trying to open; scheduling an anim to open fully");
                    Slog.d(TAG, "panelHeight not zero but trying to open; scheduling an anim"
                            + " to open fully");
                }
                startAnimation(true);
            }
Loading