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

Commit 34e363b6 authored by Tetiana Meronyk's avatar Tetiana Meronyk
Browse files

Disable vibration and sound for BackgroundUserSoundNotification

Bug: 362716403
Test: manual - set timer on user A, switch to user B, wait for the notification to show up when timer goes off and ensure there is no notification sound
Flag: EXEMPT bugfix
Change-Id: Id3d2e37b9adba14cc98b27dedb532c561e56cc35
parent 88f1c7e6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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();
    }