summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Lin <danny@kdrag0n.dev>2020-10-05 21:02:11 -0700
committeralk3pInjection <webmaster@raspii.tech>2022-05-05 00:39:05 +0800
commit6ee4adf4daa037e5e133821fc6cc7393e9d14c33 (patch)
tree2e7d709f637d5d84049131964035ebd9af9a8ee6
parent1b8a277ddf6d4096b8b13ca023d85c4ad7d6487e (diff)
core: Deprioritize important developer notifications
Informing the user that ADB is enabled does not necessitate an alert sound. It's especially annoying with the default AOSP notification sound, but even with a less distracting sound, this doesn't need to be so intrusive. Change-Id: Idee92b44cff2473a3686a2f2d95c6f5e4e91c2f8
-rw-r--r--core/java/com/android/internal/notification/SystemNotificationChannels.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/com/android/internal/notification/SystemNotificationChannels.java b/core/java/com/android/internal/notification/SystemNotificationChannels.java
index 2f40d3b457c6..06ca4dc426cf 100644
--- a/core/java/com/android/internal/notification/SystemNotificationChannels.java
+++ b/core/java/com/android/internal/notification/SystemNotificationChannels.java
@@ -104,7 +104,7 @@ public class SystemNotificationChannels {
final NotificationChannel developerImportant = new NotificationChannel(
DEVELOPER_IMPORTANT,
context.getString(R.string.notification_channel_developer_important),
- NotificationManager.IMPORTANCE_HIGH);
+ NotificationManager.IMPORTANCE_MIN);
developer.setBlockable(true);
channelsList.add(developerImportant);