Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    You need the permission android.permission.READ_EXTERNAL_STORAGE. Write <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> on the Android Manifest

  2. ,
    Expert tip

    MANAGE_USERS has a protection level of signature|system, so your application must be signed with the platform key. Take a look on this https://goo.gl/nXsTvH for more information about it.

Solutions on the web

via GitHub by pfent
, 1 year ago
Not allowed to change Do Not Disturb state
via GitHub by kordianbruck
, 7 months ago
Not allowed to change Do Not Disturb state
via xda-developers.com by Unknown author, 2 years ago
Caller uid=2000 is not privileged to communicate w th user=-2
via Stack Overflow by Virat Puar
, 2 years ago
Sending SMS message: uid 10058 does not have android.permission.SEND_SMS.
java.lang.SecurityException: Not allowed to change Do Not Disturb state	at android.os.Parcel.readException(Parcel.java:1666)	at android.os.Parcel.readException(Parcel.java:1619)	at android.media.IAudioService$Stub$Proxy.setRingerModeExternal(IAudioService.java:962)	at android.media.AudioManager.setRingerMode(AudioManager.java:1022)	at de.tum.in.tumcampusapp.services.SilenceService.onHandleIntent(SilenceService.java:101)	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:67)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:154)	at android.os.HandlerThread.run(HandlerThread.java:61)