Comment 40 for bug 1413818

Revision history for this message
Michael Zanetti (mzanetti) wrote : Re: Notification sounds aren't being played back on E4.5

Ok... after digging into this for a while it seems the issue is in ubuntu-push-client. It can't find the sound because on Aquaris phones we use a customized sound file that's not located in a XDG_DATA_DIR. From the log:

2015/09/16 16:43:40.739431 sounds.go:76: DEBUG [UqURQ1yBEeWC7foWPmWXaQ==] unable to find sound /custom/usr/share/sounds/ubuntu/notifications/Aquaris.mp3

FWIW, we should not only add support for this path (/custom/) but instead don't restrict sound files to XDG_DATA_DIRs at all. For example Ubuntu Touch Tweak Tool supports changing the default ringtones just by setting our used gsettings key. Eventually we will probably allow the user to select his own sound files for ring tones with the default settings app just like that. In which case we'd run into this bug again.