Skip to content

Conversation

@sainish
Copy link

@sainish sainish commented Feb 5, 2018

For do not disturb option ACCESS_NOTIFICATION_POLICY access is needed.

@sainish sainish changed the title Adding notification_policy access in menifest file. Required for do n… Adding notification_policy access in AndoirdMenifest file. Required for do n… Feb 5, 2018
Copy link
Author

@sainish sainish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will never be able to set silent mode because if condition is wrong in setRingerMode.
in this condiiton nm.isNotificationPolicyAccessGranted()
there shouldn't be !. Because if access is granted then try to change mode of ring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant