diff options
| author | 2024-08-29 17:43:51 +0000 | |
|---|---|---|
| committer | 2024-08-29 17:43:51 +0000 | |
| commit | 6f8e1d3bba3e56943aff016ec65e176ec34f5c2b (patch) | |
| tree | e6c1452edd8ae0670d1d7868e7d7af7ae9209560 | |
| parent | c7989a38fa9bf8a6740aa6a02a1274f516fafb06 (diff) | |
| parent | 34e363b64943d5a68056e92fe480fba8463bc1bb (diff) | |
Merge "Disable vibration and sound for BackgroundUserSoundNotification" into main
| -rw-r--r-- | services/core/java/com/android/server/pm/BackgroundUserSoundNotifier.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/pm/BackgroundUserSoundNotifier.java b/services/core/java/com/android/server/pm/BackgroundUserSoundNotifier.java index e3061a7c39ae..41351613331d 100644 --- a/services/core/java/com/android/server/pm/BackgroundUserSoundNotifier.java +++ b/services/core/java/com/android/server/pm/BackgroundUserSoundNotifier.java @@ -69,6 +69,7 @@ public class BackgroundUserSoundNotifier { mUserManager = mSystemUserContext.getSystemService(UserManager.class); NotificationChannel channel = new NotificationChannel(BUSN_CHANNEL_ID, BUSN_CHANNEL_NAME, NotificationManager.IMPORTANCE_HIGH); + channel.setSound(null, null); mNotificationManager.createNotificationChannel(channel); setupFocusControlAudioPolicy(); } |