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

Commit 00a50872 authored by Ficus Kirkpatrick's avatar Ficus Kirkpatrick
Browse files

Quiet down some log spew.

Change-Id: I769247c7b5b0ab4a233932635752ec602442af34
parent 8d66d759
Loading
Loading
Loading
Loading
+32 −31
Original line number Diff line number Diff line
@@ -289,8 +289,8 @@ public class PhoneStatusBarService extends StatusBarService {
    }

    public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon) {
        Slog.d(TAG, "addIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex
                + " icon=" + icon);
        if (SPEW) Slog.d(TAG, "addIcon slot=" + slot + " index=" + index
                + " viewIndex=" + viewIndex + " icon=" + icon);
        StatusBarIconView view = new StatusBarIconView(this, slot);
        view.set(icon);
        mStatusIcons.addView(view, viewIndex, new LinearLayout.LayoutParams(mIconWidth, mHeight));
@@ -298,14 +298,15 @@ public class PhoneStatusBarService extends StatusBarService {

    public void updateIcon(String slot, int index, int viewIndex,
            StatusBarIcon old, StatusBarIcon icon) {
        Slog.d(TAG, "updateIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex
                + " old=" + old + " icon=" + icon);
        if (SPEW) Slog.d(TAG, "updateIcon slot=" + slot + " index=" + index
                + " viewIndex=" + viewIndex + " old=" + old + " icon=" + icon);
        StatusBarIconView view = (StatusBarIconView)mStatusIcons.getChildAt(viewIndex);
        view.set(icon);
    }

    public void removeIcon(String slot, int index, int viewIndex) {
        Slog.d(TAG, "removeIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex);
        if (SPEW) Slog.d(TAG, "removeIcon slot=" + slot + " index=" + index
                + " viewIndex=" + viewIndex);
        mStatusIcons.removeViewAt(viewIndex);
    }

@@ -321,7 +322,7 @@ public class PhoneStatusBarService extends StatusBarService {
    }

    public void updateNotification(IBinder key, StatusBarNotification notification) {
        Slog.d(TAG, "updateNotification key=" + key + " notification=" + notification);
        if (SPEW) Slog.d(TAG, "updateNotification key=" + key + " notification=" + notification);

        NotificationData oldList;
        int oldIndex = mOngoing.findEntry(key);