diff --git a/app/src/main/java/com/chiller3/bcr/RecorderTileService.kt b/app/src/main/java/com/chiller3/bcr/RecorderTileService.kt index 9bddc7c80..4038be07e 100644 --- a/app/src/main/java/com/chiller3/bcr/RecorderTileService.kt +++ b/app/src/main/java/com/chiller3/bcr/RecorderTileService.kt @@ -1,5 +1,6 @@ package com.chiller3.bcr +import android.annotation.SuppressLint import android.app.PendingIntent import android.content.Intent import android.content.SharedPreferences @@ -33,6 +34,7 @@ class RecorderTileService : TileService(), SharedPreferences.OnSharedPreferenceC prefs.unregisterOnSharedPreferenceChangeListener(this) } + @SuppressLint("StartActivityAndCollapseDeprecated") override fun onClick() { super.onClick() diff --git a/app/src/main/java/com/chiller3/bcr/view/ChipGroupCentered.kt b/app/src/main/java/com/chiller3/bcr/view/ChipGroupCentered.kt index 47ae9c258..7066d1eb4 100644 --- a/app/src/main/java/com/chiller3/bcr/view/ChipGroupCentered.kt +++ b/app/src/main/java/com/chiller3/bcr/view/ChipGroupCentered.kt @@ -98,7 +98,7 @@ class ChipGroupCentered : ChipGroup { */ @SuppressLint("RestrictedApi") private fun layoutRow(childIndices: IntRange, offsetLeft: Int, offsetTop: Int, rowIndex: Int) { - val range = if (layoutDirection == ViewCompat.LAYOUT_DIRECTION_RTL) { + val range = if (layoutDirection == View.LAYOUT_DIRECTION_RTL) { childIndices.reversed() } else { childIndices diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 27424f9fb..c824bbf4f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,16 +1,16 @@ [versions] -android-gradle-plugin = "8.1.3" -androidx-activity = "1.8.2" +android-gradle-plugin = "8.4.1" +androidx-activity = "1.9.0" androidx-appcompat = "1.6.1" -androidx-core = "1.12.0" +androidx-core = "1.13.1" androidx-documentfile = "1.0.1" -androidx-fragment = "1.6.2" +androidx-fragment = "1.7.1" androidx-preference = "1.2.1" -jgit = "6.7.0.202309050840-r" -json = "20231013" -kotlin = "1.9.20" -kudzu = "5.1.0" -material = "1.11.0" +jgit = "6.9.0.202403050737-r" +json = "20240303" +kotlin = "1.9.24" +kudzu = "5.3.0" +material = "1.12.0" test-junit = "4.13.2" [libraries] diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index 014e1a370..1dc851cfa 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -10,20 +10,20 @@ - - - + + + - - + + - - - + + + - - + + @@ -52,12 +52,12 @@ - - - + + + - - + + @@ -84,6 +84,11 @@ + + + + + @@ -174,12 +179,12 @@ - - - + + + - - + + @@ -187,12 +192,12 @@ - - - + + + - - + + @@ -211,28 +216,28 @@ - - + + - - + + - - - + + + - - + + - - - + + + - - + + @@ -285,20 +290,20 @@ - - - + + + - - + + - - - + + + - - + + @@ -323,45 +328,65 @@ - - - - - + + + + + + + + + + - - + + - - - - - - + + + + + + + + - - - + + + + + + + + + + + + + + + + @@ -373,50 +398,75 @@ - - - - - - + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + - - - + + + + + + + + + + + + + + + + @@ -457,12 +507,12 @@ - - - + + + - - + + @@ -536,20 +586,12 @@ - - - - - - - - - - - + + + - - + + @@ -600,231 +642,231 @@ - - + + - - + + - - - + + + - - + + - - - + + + - - + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + @@ -851,164 +893,268 @@ - - - + + + + + + + + + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1019,20 +1165,20 @@ - - - + + + - - + + - - - + + + - - + + @@ -1061,27 +1207,17 @@ - - - - - - - - - - - + + + - - - - + + - - - + + + @@ -1100,15 +1236,7 @@ - - - - - - - - @@ -1121,19 +1249,17 @@ - - - + + + - - - - + + - - - + + + @@ -1146,16 +1272,16 @@ + + + + + - - - - - @@ -1172,12 +1298,12 @@ - - - + + + - - + + @@ -1185,9 +1311,9 @@ - - - + + + @@ -1207,13 +1333,18 @@ - - - + + + + + + + + @@ -1227,38 +1358,78 @@ - - - + + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1381,12 +1552,20 @@ - - - + + + + + + + + + + + - - + + @@ -1397,190 +1576,185 @@ - - - + + + - - + + - - - + + + - + - - - + + + - + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - - - - - - + + - - - + + + - - + + @@ -1700,9 +1874,14 @@ - - - + + + + + + + + @@ -1713,17 +1892,20 @@ - - - + + + - - + + - - - + + + + + + @@ -1746,22 +1928,32 @@ - - - - - - - - + + + + + + + + + + + + + - - + + + + + + + @@ -1772,9 +1964,9 @@ - - - + + + @@ -1782,9 +1974,9 @@ - - - + + + @@ -1797,12 +1989,12 @@ - - - + + + - - + + @@ -1821,20 +2013,28 @@ - - - + + + + + + + + + + + - - + + - - - + + + - - + + @@ -1842,38 +2042,38 @@ - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - - + + + @@ -1886,25 +2086,25 @@ - - - + + + - - + + - - - + + + - - - + + + - - + + @@ -1957,6 +2157,14 @@ + + + + + + + + @@ -1965,20 +2173,20 @@ - - - + + + - - + + - - - + + + - - + + @@ -1986,164 +2194,164 @@ - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + @@ -2154,14 +2362,6 @@ - - - - - - - - @@ -2170,58 +2370,55 @@ - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - @@ -2229,17 +2426,28 @@ - - - + + + + + + + + + + + - - + + + + + - - - + + + @@ -2247,6 +2455,11 @@ + + + + + @@ -2255,20 +2468,28 @@ - - - + + + + + + + + + + + - - + + - - - + + + - - + + @@ -2279,54 +2500,62 @@ - - - + + + - - + + - - - + + + - - + + - - + + + + + + + + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - - + + + @@ -2337,6 +2566,11 @@ + + + + + @@ -2374,20 +2608,36 @@ - - - + + + - - + + - - - + + + - - + + + + + + + + + + + + + + + + + + @@ -2414,49 +2664,49 @@ - - - + + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + @@ -2508,21 +2758,5 @@ - - - - - - - - - - - - - - - - diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 7f93135c4..d64cd4917 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 4baf5a11d..381baa9ce 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,7 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionSha256Sum=9631d53cf3e74bfa726893aee1f8994fee4e060c401335946dba2156f440f24c -distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip +distributionSha256Sum=544c35d6bd849ae8a5ed0bcea39ba677dc40f49df7d1835561582da2009b961d +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew.bat b/gradlew.bat index 6689b85be..7101f8e46 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -43,11 +43,11 @@ set JAVA_EXE=java.exe %JAVA_EXE% -version >NUL 2>&1 if %ERRORLEVEL% equ 0 goto execute -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail @@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe if exist "%JAVA_EXE%" goto execute -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail