Check DND for speak/sound

This commit is contained in:
M66B
2022-07-30 23:02:17 +02:00
parent 2939a50bd2
commit 867de1e813
3 changed files with 18 additions and 3 deletions

View File

@@ -2688,6 +2688,10 @@ public class Log {
Helper.getInterruptionFilter(filter),
(filter == NotificationManager.INTERRUPTION_FILTER_ALL ? "" : "!!!")));
size += write(os, String.format("InCall=%b DND=%b\r\n\r\n",
MediaPlayerHelper.isInCall(context),
MediaPlayerHelper.isDnd(context)));
for (NotificationChannel channel : nm.getNotificationChannels())
try {
JSONObject jchannel = NotificationHelper.channelToJSON(channel);