After upgrading to Android 15, "Ringtone Set" doesn't work anymore.

69 views
Skip to first unread message

No body

unread,
Jan 17, 2025, 1:16:24 PM1/17/25
to Automate for Android
I have a flow to change the system default notification sound. However, after upgrading to Android 15, the notification sound will not play anymore, the flow still assigns the notification sound URI to the system notification (by Ringtone Set function), but it doesn't sound when notification comes. 

I suspect Android 15 restricted that the system notification can only be chosen in the dropdown list, and no more fileUri is accepted.

Henrik "The Developer" Lindqvist

unread,
Jan 19, 2025, 10:11:54 AM1/19/25
to Automate for Android
The block still works, but only with system provided sounds, e.g. from the Ringtone pick block, or by clicking the Sound URI field.
It's odd that it ever worked with regular fileUri's since the "recipient" is never granted READ permission, there's no way to do so.
Using fileUri(soundUrl, "f") doesn't seem to work either, maybe that's the cause, Android 15 no longer supporting file:// URIs.
Probably, the only way to make this work is if fileUri could generate an URI that's publicly accessible by all apps, which is risky.
An alternative that might work is to copy the sound file into /Ringtones, that should make it a pickable ringtone.
Reply all
Reply to author
Forward
0 new messages