From 9df37a5833133fd84fe8a8f99c8a9a0b4298033e Mon Sep 17 00:00:00 2001
From: Edward Savage-Jones <edward.savage-jones@sony.com>
Date: Tue, 28 May 2024 11:58:50 +0200
Subject: [PATCH] Add missing newline in notification cmd usage

The help/usage text for the notification cmd is not wrapped
correctly when displaying the 'allow_dnd' parameter.

This was introduced in commit 08d381b830aa.

Test: manual, run cmd notification and check the wrapping
Change-Id: I9a7af1d9e3de91c9124f21eb66817bb73a3512be
---
 .../com/android/server/notification/NotificationShellCmd.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/core/java/com/android/server/notification/NotificationShellCmd.java b/services/core/java/com/android/server/notification/NotificationShellCmd.java
index dc0cf4e09207..017a96ef36be 100644
--- a/services/core/java/com/android/server/notification/NotificationShellCmd.java
+++ b/services/core/java/com/android/server/notification/NotificationShellCmd.java
@@ -66,7 +66,7 @@ public class NotificationShellCmd extends ShellCommand {
             + "  disallow_listener COMPONENT [user_id (current user if not specified)]\n"
             + "  allow_assistant COMPONENT [user_id (current user if not specified)]\n"
             + "  remove_assistant COMPONENT [user_id (current user if not specified)]\n"
-            + "  set_dnd [on|none (same as on)|priority|alarms|all|off (same as all)]"
+            + "  set_dnd [on|none (same as on)|priority|alarms|all|off (same as all)]\n"
             + "  allow_dnd PACKAGE [user_id (current user if not specified)]\n"
             + "  disallow_dnd PACKAGE [user_id (current user if not specified)]\n"
             + "  reset_assistant_user_set [user_id (current user if not specified)]\n"
-- 
GitLab