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

Commit 4d180ee0 authored by fionaxu's avatar fionaxu Committed by android-build-merger
Browse files

Merge "allow users to block alert system notifications"

am: c82394f6

Change-Id: I2f4ab3bab16cc543d1d01a35926d65bccf5d3534
parents 1d1922e6 c82394f6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -57,6 +57,8 @@ public class NotificationChannelController {
                NotificationManager.IMPORTANCE_DEFAULT);
        alertChannel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI,
                new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_NOTIFICATION).build());
        // allow users to block notifications from system
        alertChannel.setBlockableSystem(true);

        final NotificationChannel mobileDataStatusChannel = new NotificationChannel(
                CHANNEL_ID_MOBILE_DATA_STATUS,