Matías Hernández
50c954923f
Support (non-editable) display of DND with a filter != PRIORITY
...
Whenever setInterruptionFilter() is called with NONE or ALARMS, the Do Not Disturb mode now shows the current policy (nothing allowed or alarms/media allowed), instead of the normal PRIORITY policy. This policy is read-only in the UI since it cannot be customized.
This should be, or at least become, pretty rare (with small exceptions, apps targeting V that call setInterruptionFilter() will use an implicit mode instead of changing the global zen mode, plus using these filters is quite nonstandard in itself).
Fixes: 361586248
Test: atest & manual (toggling DND via cmd shell)
Flag: android.app.modes_ui
Change-Id: If2439480235d30aa310ad8925341183b9761784c
2024-08-30 15:03:03 +02:00
..
2024-08-28 14:10:20 +02:00
2024-08-21 21:34:44 +00:00
2024-07-22 17:06:38 +02:00
2024-08-16 16:20:38 +02:00
2024-08-16 16:20:38 +02:00
2024-07-02 12:09:40 +02:00
2024-07-18 11:59:06 +02:00
2024-06-13 14:38:51 +02:00
2024-06-13 14:38:51 +02:00
2024-08-16 16:20:38 +02:00
2024-08-30 15:03:03 +02:00
2024-06-27 12:48:27 -04:00
2024-07-29 20:10:03 +02:00
2024-08-30 15:03:03 +02:00
2024-08-02 12:36:44 +02:00
2024-05-29 12:23:59 +00:00
2024-05-29 12:23:59 +00:00
2024-08-14 20:27:13 +00:00
2024-08-30 15:03:03 +02:00
2024-08-14 20:27:13 +00:00
2024-07-25 21:28:27 +02:00
2024-07-25 21:28:27 +02:00
2024-07-31 14:56:30 +00:00
2024-08-14 20:27:13 +00:00
2024-08-14 20:27:13 +00:00
2024-08-30 15:03:03 +02:00
2024-08-14 20:27:13 +00:00
2024-08-30 15:03:03 +02:00
2024-07-06 22:12:58 +00:00
2024-08-14 20:27:13 +00:00
2024-08-28 14:10:20 +02:00
2024-07-06 22:12:58 +00:00
2024-08-30 15:03:03 +02:00
2024-08-30 15:03:03 +02:00
2024-07-31 14:56:30 +00:00
2024-08-28 14:10:20 +02:00
2024-08-28 14:10:20 +02:00
2024-08-25 15:50:56 +02:00
2024-08-14 20:27:13 +00:00
2024-08-14 20:27:13 +00:00
2024-08-14 20:27:13 +00:00
2024-08-14 20:27:13 +00:00
2024-08-30 15:03:03 +02:00
2024-06-21 15:19:11 +02:00
2024-08-14 20:27:13 +00:00
2024-08-30 15:03:03 +02:00
2024-06-21 15:19:11 +02:00
2024-08-14 20:27:13 +00:00
2024-08-30 15:03:03 +02:00
2024-07-24 17:57:10 +02:00
2024-08-14 20:27:13 +00:00
2024-06-21 15:19:11 +02:00
2024-08-14 20:27:13 +00:00
2024-08-14 20:27:13 +00:00
2024-08-14 20:27:13 +00:00
2024-06-21 15:19:11 +02:00
2024-08-14 20:27:13 +00:00
2024-07-29 18:11:34 +00:00
2024-07-29 20:10:03 +02:00
2024-08-28 13:13:46 -04:00
2024-07-02 12:09:40 +02:00
2024-08-14 20:27:13 +00:00
2024-08-28 14:10:20 +02:00
2024-08-28 14:10:20 +02:00
2024-08-30 15:03:03 +02:00
2024-08-30 15:03:03 +02:00
2024-08-14 20:27:13 +00:00
2024-07-26 17:44:53 +00:00
2024-07-26 17:44:53 +00:00
2024-08-30 15:03:03 +02:00
2024-07-02 12:09:40 +02:00
2024-08-22 17:48:53 +00:00
2024-08-14 20:27:13 +00:00