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:
OxygenCobalt 2021-07-22 13:38:18 -06:00
parent 20d9951074
commit 33332dbf6b
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
7 changed files with 9 additions and 15 deletions

View file

@ -54,11 +54,10 @@ I primarily built Auxio for myself, but you can use it too, I guess.
## To possibly come in the future:
- Artist Images
- Custom accents
- Playlists
- Liked songs
- More notification actions
- Other things, possibly
## Permissions

View file

@ -62,8 +62,8 @@ dependencies {
// General
implementation "androidx.core:core-ktx:1.6.0"
implementation "androidx.activity:activity-ktx:1.2.3"
implementation 'androidx.fragment:fragment-ktx:1.3.5'
implementation "androidx.activity:activity-ktx:1.2.4"
implementation 'androidx.fragment:fragment-ktx:1.3.6'
// UI
implementation "androidx.recyclerview:recyclerview:1.2.1"
@ -83,7 +83,7 @@ dependencies {
// Media
// 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
implementation "androidx.preference:preference-ktx:1.1.1"
@ -91,10 +91,10 @@ dependencies {
// --- THIRD PARTY ---
// ExoPlayer
implementation "com.google.android.exoplayer:exoplayer-core:2.14.1"
implementation "com.google.android.exoplayer:exoplayer-core:2.14.2"
// Image loading
implementation 'io.coil-kt:coil:1.2.2'
implementation 'io.coil-kt:coil:1.3.0'
// Material
implementation "com.google.android.material:material:1.4.0"

View file

@ -16,7 +16,6 @@ import org.oxycblt.auxio.ui.memberBinding
/**
* A Base [Fragment] implementing the base features shared across all detail fragments.
* TODO: Add custom artist images
* @author OxygenCobalt
*/
abstract class DetailFragment : Fragment() {

View file

@ -13,7 +13,6 @@ import java.lang.Exception
/**
* The main storage for music items. Use [MusicStore.getInstance] to get the single instance of it.
* @author OxygenCobalt
* TODO: Modernize the blacklist system to Android 10+
*/
class MusicStore private constructor() {
private var mGenres = listOf<Genre>()

View file

@ -12,7 +12,6 @@ import org.oxycblt.auxio.R
/**
* A list of all possible accents.
* TODO: Add custom accents
*/
val ACCENTS = arrayOf(
Accent(R.color.red, R.style.Theme_Red, R.style.Theme_Red_Black, R.string.color_label_red),

View file

@ -39,7 +39,6 @@
<!-- The basic black theme derived in all black accents. -->
<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="materialAlertDialogTheme">@style/Theme.CustomDialog.Black</item>
</style>

View file

@ -27,14 +27,13 @@ ExoPlayer is far more flexible than the native MediaPlayer API, which allows con
## 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?
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?
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?
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.