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

Commit 7bfec7b6 authored by Sebastian Schmidt's avatar Sebastian Schmidt
Browse files

Remove some log messages

Removes log messages related to notifications that get always printed
on an notification update. This is annoying with media players (like
TuneIn radio) that update their notification every second to display the
current playback position.

Change-Id: I2438ca6e0d67055393ad8edf4b96385e4ef20d5f
parent c4e23b1c
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -99,9 +99,7 @@ public class NotificationGroup implements Parcelable {
    }

    public boolean hasPackage(String pkg) {
        boolean result = mPackages.contains(pkg);
        Log.i(TAG, "Group: " + mName + " containing : " + pkg + " : " + result);
        return result;
        return mPackages.contains(pkg);
    }

    public boolean isDirty() {
+0 −2
Original line number Diff line number Diff line
@@ -227,8 +227,6 @@ public class ProfileManager
        NotificationGroup notificationGroup = getNotificationGroupForPackage(packageName);
        if(notificationGroup == null){
            ProfileGroup defaultGroup = getActiveProfile().getDefaultGroup();
            Log.v(TAG, "No active group, returning default: " +
                    (defaultGroup == null ? "null" : defaultGroup.getUuid()));
            return defaultGroup;
        }
        return getActiveProfile().getProfileGroup(notificationGroup.getUuid());
+0 −1
Original line number Diff line number Diff line
@@ -1101,7 +1101,6 @@ public class NotificationManagerService extends INotificationManager.Stub
                        (ProfileManager) mContext.getSystemService(Context.PROFILE_SERVICE);

                ProfileGroup group = profileManager.getActiveProfileGroup(pkg);
                Log.v(TAG, "Pkg: " + pkg + " group: " + group.getUuid());
                notification = group.processNotification(notification);
            } catch(Throwable th) {
                Log.e(TAG, "An error occurred profiling the notification.", th);