Skip to content

Commit

Permalink
Update all dependencies
Browse files Browse the repository at this point in the history
AGP 8.4.1 includes r8 8.4.26. r8 8.4.24 and newer include a fix for the
bug where MediaCodecEncoder.encode() is miscompiled, causing a byte code
verification exception to be thrown when recording a call.

Upstream bug report: https://issuetracker.google.com/issues/334275655

Signed-off-by: Andrew Gunnerson <[email protected]>
  • Loading branch information
chenxiaolong committed May 20, 2024
1 parent f694dfb commit 89ecb67
Show file tree
Hide file tree
Showing 7 changed files with 1,127 additions and 891 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/com/chiller3/bcr/RecorderTileService.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.chiller3.bcr

import android.annotation.SuppressLint
import android.app.PendingIntent
import android.content.Intent
import android.content.SharedPreferences
Expand Down Expand Up @@ -33,6 +34,7 @@ class RecorderTileService : TileService(), SharedPreferences.OnSharedPreferenceC
prefs.unregisterOnSharedPreferenceChangeListener(this)
}

@SuppressLint("StartActivityAndCollapseDeprecated")
override fun onClick() {
super.onClick()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
1,972 changes: 1,103 additions & 869 deletions gradle/verification-metadata.xml

Large diffs are not rendered by default.

Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down
20 changes: 10 additions & 10 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 89ecb67

Please sign in to comment.