diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c467dac1..13415d442 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ at the cost of longer loading times - Added ability to play songs from queue #### What's Improved -- Added motion transitions throughout the entire app +- Migrated to better-looking motion transitions - App now exposes an (immutable) queue. #### What's Fixed diff --git a/app/build.gradle b/app/build.gradle index 085023ee3..a9ebf6401 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -6,27 +6,28 @@ plugins { } android { + compileSdk 32 + namespace "org.oxycblt.auxio" + defaultConfig { - applicationId "org.oxycblt.auxio" + applicationId namespace versionName "2.5.0" versionCode 18 - minSdkVersion 21 - // API 33 is still busted, waiting until the XML element issue is fixed // noinspection OldTargetApi - targetSdkVersion 32 + minSdk 21 + targetSdk 32 buildFeatures { viewBinding true } } - compileSdkVersion 32 - // ExoPlayer, AndroidX, and Material Components all need Java 8 to compile. compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } @@ -47,6 +48,11 @@ android { proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" } } + + dependenciesInfo { + includeInApk = false + includeInBundle = false + } } afterEvaluate { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index c5c15cb01..55db4d0bb 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,7 +1,6 @@ + xmlns:tools="http://schemas.android.com/tools"> diff --git a/app/src/main/java/org/oxycblt/auxio/music/Music.kt b/app/src/main/java/org/oxycblt/auxio/music/Music.kt index af23a6f0a..dbcccfc10 100644 --- a/app/src/main/java/org/oxycblt/auxio/music/Music.kt +++ b/app/src/main/java/org/oxycblt/auxio/music/Music.kt @@ -324,7 +324,7 @@ private fun String?.toMusicId(): Long { * presence of particular tokens. * * Please, **Do not use this for anything important related to time.** I cannot stress this enough. - * This class will blow up if you try to do that. + * This code will blow up if you try to do that. * * @author OxygenCobalt */ diff --git a/app/src/main/java/org/oxycblt/auxio/playback/StyledSeekBar.kt b/app/src/main/java/org/oxycblt/auxio/playback/StyledSeekBar.kt index b5fcdb089..be858a6b7 100644 --- a/app/src/main/java/org/oxycblt/auxio/playback/StyledSeekBar.kt +++ b/app/src/main/java/org/oxycblt/auxio/playback/StyledSeekBar.kt @@ -37,8 +37,8 @@ import org.oxycblt.auxio.util.textSafe * make sense (which happens incredibly often), it just crashes the entire app, which is insane but * also checks out for something more meant for configuration than seeking. * - * Instead, we wrap it in a safe class that hopefully implements enough safety to not crash the app - * or result in blatantly janky behavior. Mostly. + * Instead, we wrap it in a safe class that hopefully implements enough sanity checks to not crash + * the app or result in blatantly janky behavior. Mostly. * * TODO: Add smooth seeking * diff --git a/app/src/main/java/org/oxycblt/auxio/playback/system/MediaSessionComponent.kt b/app/src/main/java/org/oxycblt/auxio/playback/system/MediaSessionComponent.kt index 679e573bc..729936138 100644 --- a/app/src/main/java/org/oxycblt/auxio/playback/system/MediaSessionComponent.kt +++ b/app/src/main/java/org/oxycblt/auxio/playback/system/MediaSessionComponent.kt @@ -161,7 +161,7 @@ class MediaSessionComponent( // Cover loading is a mess. Android expects you to provide a clean, easy URI for it to // leverage, but Auxio cannot do that as quality-of-life features like scaling or - // 1:1 cropping could not be used + // 1:1 cropping could not be used. // // Thus, we have two options to handle album art: // 1. Load the bitmap, then post the notification