mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 09:33:33 +00:00
fix: added preference that got lost in merging, removed old media factory ref, bumped version for release
This commit is contained in:
parent
d1e247f9e2
commit
ff0c42d14c
3 changed files with 9 additions and 4 deletions
|
|
@ -10,8 +10,8 @@ android {
|
||||||
minSdkVersion 24
|
minSdkVersion 24
|
||||||
targetSdk 35
|
targetSdk 35
|
||||||
|
|
||||||
versionCode 32
|
versionCode 33
|
||||||
versionName '3.15.1'
|
versionName '3.16.0'
|
||||||
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
||||||
|
|
||||||
javaCompileOptions {
|
javaCompileOptions {
|
||||||
|
|
|
||||||
|
|
@ -92,11 +92,18 @@
|
||||||
android:summary="@string/settings_auto_download_lyrics_summary"
|
android:summary="@string/settings_auto_download_lyrics_summary"
|
||||||
android:key="auto_download_lyrics" />
|
android:key="auto_download_lyrics" />
|
||||||
|
|
||||||
|
<SwitchPreference
|
||||||
|
android:title="@string/settings_show_mini_shuffle_button"
|
||||||
|
android:defaultValue="false"
|
||||||
|
android:summary="@string/settings_show_mini_shuffle_button_summary"
|
||||||
|
android:key="mini_shuffle_button_visibility" />
|
||||||
|
|
||||||
<SwitchPreference
|
<SwitchPreference
|
||||||
android:title="@string/settings_music_directory"
|
android:title="@string/settings_music_directory"
|
||||||
android:defaultValue="true"
|
android:defaultValue="true"
|
||||||
android:summary="@string/settings_music_directory_summary"
|
android:summary="@string/settings_music_directory_summary"
|
||||||
android:key="music_directory_section_visibility" />
|
android:key="music_directory_section_visibility" />
|
||||||
|
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
<PreferenceCategory app:title="@string/settings_title_playlist">
|
<PreferenceCategory app:title="@string/settings_title_playlist">
|
||||||
|
|
|
||||||
|
|
@ -453,8 +453,6 @@ class MediaService : MediaLibraryService() {
|
||||||
|
|
||||||
private fun getRenderersFactory() = DownloadUtil.buildRenderersFactory(this, false)
|
private fun getRenderersFactory() = DownloadUtil.buildRenderersFactory(this, false)
|
||||||
|
|
||||||
private fun getMediaSourceFactory() =
|
|
||||||
DefaultMediaSourceFactory(this).setDataSourceFactory(DownloadUtil.getDataSourceFactory(this))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private const val WIDGET_UPDATE_INTERVAL_MS = 1000L
|
private const val WIDGET_UPDATE_INTERVAL_MS = 1000L
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue