Skip to content Skip to sidebar Skip to footer

Android Do Not Disturb (DnD) Permission In Managed Profile

I have the following problem: My app is distributed over an MDM system and runs in Android for Work. In certain situation, the app must temporarily terminate the DnD mode. To achie

Solution 1:

According to Android documentation: NOT POSSIBLE

Users can grant and deny access to Do Not Disturb configuration from here. Managed profiles cannot grant Do Not Disturb access.


Solution 2:

Apparently there is issure reported regarding this on Google Issue Tracker https://issuetracker.google.com/issues/77939714

This is the reply from Google:

Status: Won't Fix (Intended Behavior) 11:41AM You can not change DND settings from a managed profile app. We will be updating the documentation to clarify this.

There is also a reply stating:

Microsoft Intune has released their fully managed Android Enterprise profile setup for Android Devices. ... and it can now access and grant the DnD permission. Not sure if its the fact that we have gone to fully managed devices or if something else has changed.

And I would believe this is actually because the device is fully managed.

So according to my understadning there are two options:

  • Fully managed device (will require a factory reset on the phone)
  • Install it on the personal profile

Solution 3:

I haven't found a proper solution for the problem yet but I found a workaround to display the app in the work area. It seems that the app is only displayed in the dialog if the same app is also installed in the private area. If the app is not installed in the private area, it will also not appear in the work area. My workaround was to install the app in the private and work area. After the permission in the work area was granted, I removed the app from the private area. Like I said, it's not a solution to the problem itself, but it worked. To me this looks like a bug in Android, because for all other permissions the app appears in the list


Solution 4:

We have the same issue with the app SignOnSite. Can't get access to the DnD function for emergency evacuations unless we also install the app in the Personal space as well. Makes it to risky doing it this way, so ended up just installing the app in the Personal space. Using Intune for our MDM.


Solution 5:

Try this -

Intent intent = new Intent("android.settings.NOTIFICATION_POLICY_ACCESS_SETTINGS");
    startActivity(intent);

Post a Comment for "Android Do Not Disturb (DnD) Permission In Managed Profile"