From fe9405d007a3b2f8637450d49814847e4b30ce64 Mon Sep 17 00:00:00 2001 From: Gabriel Peal Date: Sun, 3 Mar 2024 15:18:00 -0800 Subject: [PATCH] Revert breaking change --- .github/workflows/validate.yml | 2 +- .../src/main/java/com/airbnb/lottie/compose/LottieAnimation.kt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index e716b9944f..5f6a0a7bd7 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -67,7 +67,7 @@ jobs: distribution: "zulu" java-version: 17 - uses: gradle/gradle-build-action@v2 - - name: Run Unit Tests + - name: Run API compatibility check run: ./gradlew apiCheck --no-daemon snapshot-tests: diff --git a/lottie-compose/src/main/java/com/airbnb/lottie/compose/LottieAnimation.kt b/lottie-compose/src/main/java/com/airbnb/lottie/compose/LottieAnimation.kt index 29a3ca3c98..3f8de0febe 100644 --- a/lottie-compose/src/main/java/com/airbnb/lottie/compose/LottieAnimation.kt +++ b/lottie-compose/src/main/java/com/airbnb/lottie/compose/LottieAnimation.kt @@ -92,7 +92,6 @@ fun LottieAnimation( fontMap: Map? = null, asyncUpdates: AsyncUpdates = AsyncUpdates.AUTOMATIC, safeMode: Boolean = false, - testDoNotSubmit: Boolean = false ) { val drawable = remember { LottieDrawable() } val matrix = remember { Matrix() }