Custom MP3 SMS/MMS notification sound trouble

Mats Post time 2017-2-1 22:56:41 | Show all posts  Close [Copy link]
1 1510
View: 1510|Reply: 1

Custom MP3 SMS/MMS notification sound trouble

 Close [Copy link]

9

threads

345

posts

1871

credits

Diamond Member

Rank: 4

credits
1871
Post time 2017-2-1 20:47:21 | Show all posts |Read mode
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?
  1.    : 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()
  2. 02-01 13:39:38.853   946 11290 D AES     :         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2724)
  3. 02-01 13:39:38.853   946 11290 D AES     :         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2789)
  4. 02-01 13:39:38.853   946 11290 D AES     :         at android.app.ActivityThread.-wrap12(ActivityThread.java)
  5. 02-01 13:39:38.853   946 11290 D AES     :         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1527)
  6. 02-01 13:39:38.853   946 11290 D AES     :         at android.os.Handler.dispatchMessage(Handler.java:110)
  7. 02-01 13:39:38.853   946 11290 D AES     :         at android.os.Looper.loop(Looper.java:203)
  8. 02-01 13:39:38.853   946 11290 D AES     :         at android.app.ActivityThread.main(ActivityThread.java:6247)
  9. 02-01 13:39:38.853   946 11290 D AES     :         at java.lang.reflect.Method.invoke(Native Method)
  10. 02-01 13:39:38.853   946 11290 D AES     :         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
  11. 02-01 13:39:38.853   946 11290 D AES     :         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)
  12. 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.

0

threads

21

posts

63

credits

Senior Member

Rank: 2

credits
63
Post time 2017-2-1 22:56:41 | Show all posts
You are the man! Thank you lots!

For the distracted ones, the solution is in the end of Mat's first post
You have to log in before you can reply Login | WELCOME TO UMIDIGI COMMUNITY

Points Rules

Quick Reply Top Back to list