chore: upgrade deps
androidx activity -> 1.2.4 androidx fragment -> 1.3.5 androidx media -> 1.4.0 exoplayer -> 2.14.2 coil -> 1.3.0
This commit is contained in:
parent
20d9951074
commit
33332dbf6b
7 changed files with 9 additions and 15 deletions
|
@ -54,11 +54,10 @@ I primarily built Auxio for myself, but you can use it too, I guess.
|
||||||
|
|
||||||
## To possibly come in the future:
|
## To possibly come in the future:
|
||||||
|
|
||||||
- Artist Images
|
|
||||||
- Custom accents
|
|
||||||
- Playlists
|
- Playlists
|
||||||
- Liked songs
|
- Liked songs
|
||||||
- More notification actions
|
- More notification actions
|
||||||
|
- Other things, possibly
|
||||||
|
|
||||||
## Permissions
|
## Permissions
|
||||||
|
|
||||||
|
|
|
@ -62,8 +62,8 @@ dependencies {
|
||||||
|
|
||||||
// General
|
// General
|
||||||
implementation "androidx.core:core-ktx:1.6.0"
|
implementation "androidx.core:core-ktx:1.6.0"
|
||||||
implementation "androidx.activity:activity-ktx:1.2.3"
|
implementation "androidx.activity:activity-ktx:1.2.4"
|
||||||
implementation 'androidx.fragment:fragment-ktx:1.3.5'
|
implementation 'androidx.fragment:fragment-ktx:1.3.6'
|
||||||
|
|
||||||
// UI
|
// UI
|
||||||
implementation "androidx.recyclerview:recyclerview:1.2.1"
|
implementation "androidx.recyclerview:recyclerview:1.2.1"
|
||||||
|
@ -83,7 +83,7 @@ dependencies {
|
||||||
|
|
||||||
// Media
|
// Media
|
||||||
// TODO: Migrate to media2 when I can figure out how to use it
|
// TODO: Migrate to media2 when I can figure out how to use it
|
||||||
implementation "androidx.media:media:1.3.1"
|
implementation "androidx.media:media:1.4.0"
|
||||||
|
|
||||||
// Preferences
|
// Preferences
|
||||||
implementation "androidx.preference:preference-ktx:1.1.1"
|
implementation "androidx.preference:preference-ktx:1.1.1"
|
||||||
|
@ -91,10 +91,10 @@ dependencies {
|
||||||
// --- THIRD PARTY ---
|
// --- THIRD PARTY ---
|
||||||
|
|
||||||
// ExoPlayer
|
// ExoPlayer
|
||||||
implementation "com.google.android.exoplayer:exoplayer-core:2.14.1"
|
implementation "com.google.android.exoplayer:exoplayer-core:2.14.2"
|
||||||
|
|
||||||
// Image loading
|
// Image loading
|
||||||
implementation 'io.coil-kt:coil:1.2.2'
|
implementation 'io.coil-kt:coil:1.3.0'
|
||||||
|
|
||||||
// Material
|
// Material
|
||||||
implementation "com.google.android.material:material:1.4.0"
|
implementation "com.google.android.material:material:1.4.0"
|
||||||
|
|
|
@ -16,7 +16,6 @@ import org.oxycblt.auxio.ui.memberBinding
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A Base [Fragment] implementing the base features shared across all detail fragments.
|
* A Base [Fragment] implementing the base features shared across all detail fragments.
|
||||||
* TODO: Add custom artist images
|
|
||||||
* @author OxygenCobalt
|
* @author OxygenCobalt
|
||||||
*/
|
*/
|
||||||
abstract class DetailFragment : Fragment() {
|
abstract class DetailFragment : Fragment() {
|
||||||
|
|
|
@ -13,7 +13,6 @@ import java.lang.Exception
|
||||||
/**
|
/**
|
||||||
* The main storage for music items. Use [MusicStore.getInstance] to get the single instance of it.
|
* The main storage for music items. Use [MusicStore.getInstance] to get the single instance of it.
|
||||||
* @author OxygenCobalt
|
* @author OxygenCobalt
|
||||||
* TODO: Modernize the blacklist system to Android 10+
|
|
||||||
*/
|
*/
|
||||||
class MusicStore private constructor() {
|
class MusicStore private constructor() {
|
||||||
private var mGenres = listOf<Genre>()
|
private var mGenres = listOf<Genre>()
|
||||||
|
|
|
@ -12,7 +12,6 @@ import org.oxycblt.auxio.R
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A list of all possible accents.
|
* A list of all possible accents.
|
||||||
* TODO: Add custom accents
|
|
||||||
*/
|
*/
|
||||||
val ACCENTS = arrayOf(
|
val ACCENTS = arrayOf(
|
||||||
Accent(R.color.red, R.style.Theme_Red, R.style.Theme_Red_Black, R.string.color_label_red),
|
Accent(R.color.red, R.style.Theme_Red, R.style.Theme_Red_Black, R.string.color_label_red),
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
|
|
||||||
<!-- The basic black theme derived in all black accents. -->
|
<!-- The basic black theme derived in all black accents. -->
|
||||||
<style name="Theme.Base.Black" parent="Theme.Base">
|
<style name="Theme.Base.Black" parent="Theme.Base">
|
||||||
<item name="android:textColorPrimary">@android:color/white</item>
|
|
||||||
<item name="colorSurface">@color/surface_color_black</item>
|
<item name="colorSurface">@color/surface_color_black</item>
|
||||||
<item name="materialAlertDialogTheme">@style/Theme.CustomDialog.Black</item>
|
<item name="materialAlertDialogTheme">@style/Theme.CustomDialog.Black</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -27,14 +27,13 @@ ExoPlayer is far more flexible than the native MediaPlayer API, which allows con
|
||||||
|
|
||||||
## Why cant I have a custom accent?
|
## Why cant I have a custom accent?
|
||||||
|
|
||||||
Custom accents would require some changes to the accent system in the app, which will take some time. I plan to add them however.
|
Android themes can't be modified dynamically, making applying a custom theme nearly impossible without duplicating code and having an extremely brittle system. Therefore its not implemented.
|
||||||
|
This may change in Android 12 however, if google exposes the APIs for Material U coloring.
|
||||||
|
|
||||||
## Why are accents lighter/less saturated in dark mode?
|
## Why are accents lighter/less saturated in dark mode?
|
||||||
|
|
||||||
As per the [Material Guidelines](https://material.io/design/color/dark-theme.html), accents should be less saturated on dark mode to reduce eye strain and to make it look better in general.
|
As per the [Material Guidelines](https://material.io/design/color/dark-theme.html), accents should be less saturated on dark mode to reduce eye strain and to make it look better in general.
|
||||||
|
|
||||||
You will be able to set the accent to something less saturated when I implement custom accents.
|
|
||||||
|
|
||||||
## Why isn't edge-to-edge enabled on versions below Oreo?
|
## Why isn't edge-to-edge enabled on versions below Oreo?
|
||||||
|
|
||||||
The APIs for changing system bar colors were only added in API Level 27 (Oreo MR1), meaning that edge-to-edge will not work below that version.
|
The APIs for changing system bar colors were only added in API Level 27 (Oreo MR1), meaning that edge-to-edge will not work below that version.
|
||||||
|
@ -47,4 +46,4 @@ When a *phone* [Not a tablet] is in landscape, the insets meant to make the UI f
|
||||||
|
|
||||||
## Does this app keep/send any information about myself or my device?
|
## Does this app keep/send any information about myself or my device?
|
||||||
|
|
||||||
Auxio does not log any information about the device or its owner, and it has no internet access to send that information off in the first place.
|
Auxio does not log any information about the device or its owner, and it has no internet access to send that information off in the first place.
|
||||||
|
|
Loading…
Reference in a new issue