Some Bugfixes and Improvments

- Update the libary gson.
- Deleted some unuseful Code.
- added some locals to locales config.
This commit is contained in:
Michatec
2025-06-11 17:36:47 +02:00
parent 5ecbede8b5
commit 0a56971fa2
14 changed files with 35 additions and 78 deletions

View File

@@ -636,22 +636,6 @@ class PlayerService : MediaLibraryService() {
}
/*
* Defines the listener for changes in shared preferences
*/
private val sharedPreferenceChangeListener =
SharedPreferences.OnSharedPreferenceChangeListener { _, key ->
when (key) {
Keys.PREF_LARGE_BUFFER_SIZE -> {
bufferSizeMultiplier = PreferencesHelper.loadBufferSizeMultiplier()
if (!player.isPlaying && !player.isLoading) {
initializePlayer()
}
}
}
}
/*
* Custom AnalyticsListener that enables AudioFX equalizer integration
*/