all: migrate to api 32

Actually migrate to API 32 [Android 12L], co-inciding with the upgrade
of my studio install and the android gradle plugin. Alongside this, add
a bunch of fixes for lints that the new studio picked up.
This commit is contained in:
OxygenCobalt
2022-01-25 18:59:16 -07:00
parent 317b12579c
commit d7f34e6b94
37 changed files with 81 additions and 59 deletions
+2 -2
View File
@@ -139,11 +139,11 @@
<plurals name="fmt_song_count">
<item quantity="one">"%d skladba"</item>
<item quantity="few">"%d skladby"</item>
<item quantity="other">"%d skladeb"</item>
<item quantity="many">"%d skladeb"</item>
</plurals>
<plurals name="fmt_album_count">
<item quantity="one">"%d album"</item>
<item quantity="few">"%d alba"</item>
<item quantity="other">"%d alb"</item>
<item quantity="many">"%d alb"</item>
</plurals>
</resources>
+2 -2
View File
@@ -86,11 +86,11 @@
<plurals name="fmt_song_count">
<item quantity="one">%s Titre</item>
<item quantity="other">%s Titres</item>
<item quantity="many">%s Titres</item>
</plurals>
<plurals name="fmt_album_count">
<item quantity="one">%s Album</item>
<item quantity="other">%s Albums</item>
<item quantity="many">%s Albums</item>
</plurals>
</resources>
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<resources xmlns:tools="http://schemas.android.com/tools"
tools:ignore="PrivateResource">>
<!-- Android 12 configuration -->
<style name="Theme.Auxio.V31" parent="Theme.Auxio.V27">
<!--
+3 -2
View File
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<resources xmlns:tools="http://schemas.android.com/tools"
tools:ignore="PrivateResource">
<!-- Android 12 configuration -->
<style name="Theme.Auxio.V31" parent="Theme.Auxio.V27">
<!--
Theme.Material3.DayNight doesn't actually apply dynamic colors by default. No.
You have to apply a T H E M E O V E R L A Y for them to work. Except the ThemeOverlay
You have to apply a T H E M E O V E R L A Y for them to work. Except the ThemeOverlay
causes appbars to become a completely different color for basically no reason! Guess
we have to manually ctrl-c ctrl-v these values into our V31 styles instead!
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<data-extraction-rules>
<cloud-backup />
<device-transfer />
</data-extraction-rules>