I use the MetroPCS Visual Voicemail app on my Moto Z (Android 8), and from time to time, I'll discover that Do Not Disturb has been turned on indefinitely, with Android saying that it was 'turned on by an app, Visual Voicemail'. (After noticing a few silent visual alerts, I catch on.) Any ideas as to how to prevent this from happening? What permission allows the app to do this? Settings lists this app's permissions as Contacts, Phone, SMS, and Storage, none of which seem to have anything to do with Do Not Disturb.