From 5ae17d44785ac68ffa978ff0e3c9a8b8b24684ad Mon Sep 17 00:00:00 2001 From: Yuri Lin Date: Thu, 11 Nov 2021 17:30:59 -0500 Subject: [PATCH] Add more linebreaks in logcat package dump The packages not previously known about by PreferencesHelper but that have notification permissions were all stuck on one line, whoops. Bug: 194833441 Test: adb shell dumpsys notification Change-Id: I1d58f676f6d34c5efd9c5540a678757e79e84a3c --- .../java/com/android/server/notification/PreferencesHelper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/services/core/java/com/android/server/notification/PreferencesHelper.java b/services/core/java/com/android/server/notification/PreferencesHelper.java index cfa6ba53df72f..4e1279c598b73 100644 --- a/services/core/java/com/android/server/notification/PreferencesHelper.java +++ b/services/core/java/com/android/server/notification/PreferencesHelper.java @@ -2043,6 +2043,7 @@ public class PreferencesHelper implements RankingConfig { pw.print(" importance="); pw.print(NotificationListenerService.Ranking.importanceToString( packagePermissions.get(p) ? IMPORTANCE_DEFAULT : IMPORTANCE_NONE)); + pw.println(); } } }