Implementing Media Controls for Voice Messages#6396
Conversation
|
APK file: https://github.com/nextcloud/talk-android/actions/runs/28387969161/artifacts/7958660485 |
|
APK file: https://github.com/nextcloud/talk-android/actions/runs/28952121735/artifacts/8172415540 |
Changing source of truth of voice messages to be MediaSessionService Added a bunch of code to handle updates to the player, listen to state changes, and update the UI Fixed waveforms, they are now drawn in bounds detekt Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
b58cc05 to
9d813d1
Compare
|
APK file: https://github.com/nextcloud/talk-android/actions/runs/28954900685/artifacts/8173612512 |
Harder than I thought, this required refactoring the entire media player io logic to use MediaSessionService as it's source of truth. While this simplifies the architecture a bit, it also means I have to go about and fix some old bugs once again.
Further follow up PR's would be to move more logic into the view model and simplify chat activity and changing how MediaPlayerManager is used.
🚧 TODO
🏁 Checklist
/backport to stable-xx.x🤖 AI (if applicable)