build: update build scripts

Update/Modernize build scripts.
This commit is contained in:
OxygenCobalt
2022-07-29 11:03:22 -06:00
parent f93d5f1a69
commit 62ae5e5cb2
6 changed files with 18 additions and 13 deletions
@@ -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
*/
@@ -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
*
@@ -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