diff options
author | ByteHamster <info@bytehamster.com> | 2022-12-18 21:36:37 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-12-18 21:36:40 +0100 |
commit | 670f26bb0e5a8621033b68b4ce28c52e9340362c (patch) | |
tree | 80a8612c77917eaafb627e8b52c3c1f8fa598e35 /model/build.gradle | |
parent | aa6b7b86f8340b39622e5df87e8aabbd8722739c (diff) | |
download | AntennaPod-670f26bb0e5a8621033b68b4ce28c52e9340362c.zip |
Rework audio focus handling
Instead of pausing the entire service, only pause media playback without
telling the service. This has the following advantages:
- It's faster
- The position does not change (because it does not need to seek)
- We can definitely resume (because we still have a foreground service)
Especially the last point is important on Android 12, where we couldn't
restart after an interruption because the service cannot be started.
Diffstat (limited to 'model/build.gradle')
0 files changed, 0 insertions, 0 deletions