Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

fix(bug):Does not allow other apps to resume audio playback after announcing the next step

Description

Cardinal doesn't allow other apps to resume audio playback after announcing the next step

the bug I report happens only when I mute the voice for direction

  • despite being turned off, the app stop the music/podcast in background when there is something to say
  • and it never resume the music/podcast

Screenshots

Technical details

Due to Ferrostar default implementation of TTS and Audio Manager it was not handling requestFocus and abandonFocus correctly for Audio Manager

Tests

While playing music or podcast in background use the Map for navigation and when next step is announced it should take the focus. After announcement finished background music or podcast should played normally. Tested with Spotify for music and AntennaPod for podcast.

Issues

#98

10 commandments of code review

👪 ❤️ code review guidelines

Edited by Mitul Sheth

Merge request reports

Loading