|
While on Marshmallow, I set a custom sound as notification sound for the default SMS/MMS app. After upgrading (local OTA) to Nougat, I no longer get any notification sound. When I try to change sound, the app dies as soon as I click on Notifications under settings. Has anything happened with how this is handled in Nougat, and how can I change SMS/MMS notification sound?
- : java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.mms/com.mediatek.setting.NotificationPreferenceActivity}: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/audio/media/71 from pid=11117, uid=10017 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
- 02-01 13:39:38.853 946 11290 D AES : at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2724)
- 02-01 13:39:38.853 946 11290 D AES : at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2789)
- 02-01 13:39:38.853 946 11290 D AES : at android.app.ActivityThread.-wrap12(ActivityThread.java)
- 02-01 13:39:38.853 946 11290 D AES : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1527)
- 02-01 13:39:38.853 946 11290 D AES : at android.os.Handler.dispatchMessage(Handler.java:110)
- 02-01 13:39:38.853 946 11290 D AES : at android.os.Looper.loop(Looper.java:203)
- 02-01 13:39:38.853 946 11290 D AES : at android.app.ActivityThread.main(ActivityThread.java:6247)
- 02-01 13:39:38.853 946 11290 D AES : at java.lang.reflect.Method.invoke(Native Method)
- 02-01 13:39:38.853 946 11290 D AES : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
- 02-01 13:39:38.853 946 11290 D AES : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)
- 02-01 13:39:38.853 946 11290 D AES : Caused by: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/audio/media/71 from pid=11117, uid=10017 <b>requires android.permission.READ_EXTERNAL_STORAGE</b>, or grantUriPermission()
Copy the Code Found it! For some reason, the Storage permission was turned off! Turning it back on again, fixed it.
Case closed, but I'll leave this here for future reference.
|
|