Fix do not disturb bypass user restriction
Do not disturb search result can still switch on/off when users are restricted by DISALLOW_ADJUST_VOLUME. The DND search result is presented by slice and there was no user restriction check when creating DND slice, which caused DND search result can access. To prevent DND from being access if user restriction is enabled, adding user restriction check during creating the DND slice. Bug: 242846154 Test: robotest pass and manual test Change-Id: I897a99e9dda2f9f84365d96841a4c4f4cf975331
Loading
Please register or sign in to comment