Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/models/finamp_models.dart
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ class DefaultSettings {
static const Color? accentColor = null;
static const shouldTranscode = false;
static const transcodeBitrate = 320000;
static const androidStopForegroundOnPause = true;
// Default to keeping the audio service in the foreground while paused.
// Entering a low-priority state on pause lets Android (12+/API 31) deny the
// background foreground-service restart needed to resume after a transient
// audio-focus interruption, silently stopping playback. See issue #956.
static const androidStopForegroundOnPause = false;
static const onlyShowFavorites = false;
static const trackShuffleItemCount = 250;

Expand Down
2 changes: 1 addition & 1 deletion lib/models/finamp_models.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading