[5.0.0.72] Audio MMS fails to play

REPRODUCIBILITY: 100%(?)
OS VERSION: 5.0.0.72
HARDWARE: xperia 10 V
UI LANGUAGE: eng
REGRESSION: no idea

DESCRIPTION:

Received audio MMS launches gallery which refuses to play the file and claims it has 0b, seems like sailjail issue as the file exists and can be played with for example file browser launched from console

PRECONDITIONS:

None

STEPS TO REPRODUCE:

  1. receive audio MMS
  2. click on the icon to launch gallery

EXPECTED RESULT:

Audio plays fine

ACTUAL RESULT:

No audio, gallery claims the file is empty (it’s not)

MODIFICATIONS:

No

ADDITIONAL INFORMATION:



Unlike in case of my operator (T-Mobile PL) which sends MMS audio attachments as .amr audio files, in your case it is mp4, recognized as video (it clearly states that it recognizes it as video/mp4). So I guess you need to add a Sailjail permission to access the folder where MMS attachments are stored

whitelist ${HOME}/.local/share/commhistory/data

to the following file:

/etc/sailjail/permissions/Videos.permission

To make sure that audio file types (e.g. the aforementioned amr) also can be accessed and played, add the same line to

/etc/sailjail/permissions/Music.permission

as well.

5 Likes

Indeed a sailjail problem. I’ll fix this.

Won’t make generic permissions have libcommhistory though, that’s special.

6 Likes

Also FWIW was myself unable to receive an audio attachment but reproduced this with a video.

4 Likes