Revert "Upgrade to AGP 8.2.0-alpha15"
Revert submission 2696095-agp-8.2.0-alpha15
Reason for revert: broke the build
Reverted changes: /q/submissionid:2696095-agp-8.2.0-alpha15
Change-Id: I1377b0042b9488a09308d9f9c190b7281966f4a8
diff --git a/activity/activity-lint/src/test/java/androidx/activity/lint/ActivityResultFragmentVersionDetectorTest.kt b/activity/activity-lint/src/test/java/androidx/activity/lint/ActivityResultFragmentVersionDetectorTest.kt
index 170867a..cc9312b 100644
--- a/activity/activity-lint/src/test/java/androidx/activity/lint/ActivityResultFragmentVersionDetectorTest.kt
+++ b/activity/activity-lint/src/test/java/androidx/activity/lint/ActivityResultFragmentVersionDetectorTest.kt
@@ -21,7 +21,6 @@
import com.android.tools.lint.checks.infrastructure.LintDetectorTest
import com.android.tools.lint.detector.api.Detector
import com.android.tools.lint.detector.api.Issue
-import org.junit.Ignore
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.JUnit4
@@ -186,7 +185,6 @@
.run().expectClean()
}
- @Ignore // b/293517205
@Test
fun expectFailRegisterForActivityResult() {
lint().files(
@@ -220,7 +218,6 @@
)
}
- @Ignore // b/293517205
@Test
fun expectFailRegisterForActivityResultInMethod() {
lint().files(
@@ -258,7 +255,6 @@
)
}
- @Ignore // b/293517205
@Test
fun expectFailRegisterForActivityResultMultipleCalls() {
lint().files(
@@ -301,7 +297,6 @@
)
}
- @Ignore // b/293517205
@Test
fun expectFailTransitiveDependency() {
val projectFragment = project(
diff --git a/activity/activity/lint-baseline.xml b/activity/activity/lint-baseline.xml
index c33c4d5..75b58da 100644
--- a/activity/activity/lint-baseline.xml
+++ b/activity/activity/lint-baseline.xml
@@ -1,67 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
<issue
- id="NewApi"
- message="Field requires API level 19 (current min is 14): `ImageAndVideo`"
- errorLine1=" mediaType: VisualMediaType = ImageAndVideo"
- errorLine2=" ~~~~~~~~~~~~~">
+ id="PrereleaseSdkCoreDependency"
+ message="Prelease SDK check isAtLeastT cannot be called as this project has a versioned dependency on androidx.core:core"
+ errorLine1=" if (BuildCompat.isAtLeastT()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/activity/result/PickVisualMediaRequest.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 19 (current min is 14): `ImageAndVideo`"
- errorLine1=" var mediaType: VisualMediaType = ImageAndVideo"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/activity/result/PickVisualMediaRequest.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 19 (current min is 14): `ImageAndVideo`"
- errorLine1=" private var mediaType: VisualMediaType = ImageAndVideo"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/activity/result/PickVisualMediaRequest.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 19 (current min is 14): `VideoOnly`"
- errorLine1=" ActivityResultContracts.PickVisualMedia.VideoOnly"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/androidTest/java/androidx/activity/result/PickVisualMediaRequestTest.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 19 (current min is 14): `VideoOnly`"
- errorLine1=" assertThat(request.mediaType).isEqualTo(ActivityResultContracts.PickVisualMedia.VideoOnly)"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/androidTest/java/androidx/activity/result/PickVisualMediaRequestTest.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 19 (current min is 14): `VideoOnly`"
- errorLine1=" val request = PickVisualMediaRequest(ActivityResultContracts.PickVisualMedia.VideoOnly)"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/androidTest/java/androidx/activity/result/PickVisualMediaRequestTest.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 19 (current min is 14): `VideoOnly`"
- errorLine1=" assertThat(request.mediaType).isEqualTo(ActivityResultContracts.PickVisualMedia.VideoOnly)"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/androidTest/java/androidx/activity/result/PickVisualMediaRequestTest.kt"/>
+ file="src/main/java/androidx/activity/ComponentActivity.java"/>
</issue>
</issues>
diff --git a/appcompat/integration-tests/receive-content-testapp/lint-baseline.xml b/appcompat/integration-tests/receive-content-testapp/lint-baseline.xml
deleted file mode 100644
index af8264e..0000000
--- a/appcompat/integration-tests/receive-content-testapp/lint-baseline.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(1000)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/BaseTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(eventTime - now - 10);"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/swipe/ManualSwipeInjector.java"/>
- </issue>
-
-</issues>
diff --git a/appsearch/appsearch-platform-storage/lint-baseline.xml b/appsearch/appsearch-platform-storage/lint-baseline.xml
new file mode 100644
index 0000000..dd1d2ee
--- /dev/null
+++ b/appsearch/appsearch-platform-storage/lint-baseline.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: AppSearchResult.RESULT_OK, AppSearchResult.RESULT_UNKNOWN_ERROR, AppSearchResult.RESULT_INTERNAL_ERROR, AppSearchResult.RESULT_INVALID_ARGUMENT, AppSearchResult.RESULT_IO_ERROR, AppSearchResult.RESULT_OUT_OF_SPACE, AppSearchResult.RESULT_NOT_FOUND, AppSearchResult.RESULT_INVALID_SCHEMA, AppSearchResult.RESULT_SECURITY_ERROR, AppSearchResult.RESULT_DENIED, but could be AppSearchResult.RESULT_OK, AppSearchResult.RESULT_UNKNOWN_ERROR, AppSearchResult.RESULT_INTERNAL_ERROR, AppSearchResult.RESULT_INVALID_ARGUMENT, AppSearchResult.RESULT_IO_ERROR, AppSearchResult.RESULT_OUT_OF_SPACE, AppSearchResult.RESULT_NOT_FOUND, AppSearchResult.RESULT_INVALID_SCHEMA, AppSearchResult.RESULT_SECURITY_ERROR"
+ errorLine1=" platformResult.getResultCode(), platformResult.getErrorMessage()));"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/appsearch/platformstorage/converter/AppSearchResultToPlatformConverter.java"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: AppSearchResult.RESULT_OK, AppSearchResult.RESULT_UNKNOWN_ERROR, AppSearchResult.RESULT_INTERNAL_ERROR, AppSearchResult.RESULT_INVALID_ARGUMENT, AppSearchResult.RESULT_IO_ERROR, AppSearchResult.RESULT_OUT_OF_SPACE, AppSearchResult.RESULT_NOT_FOUND, AppSearchResult.RESULT_INVALID_SCHEMA, AppSearchResult.RESULT_SECURITY_ERROR, AppSearchResult.RESULT_DENIED, but could be AppSearchResult.RESULT_OK, AppSearchResult.RESULT_UNKNOWN_ERROR, AppSearchResult.RESULT_INTERNAL_ERROR, AppSearchResult.RESULT_INVALID_ARGUMENT, AppSearchResult.RESULT_IO_ERROR, AppSearchResult.RESULT_OUT_OF_SPACE, AppSearchResult.RESULT_NOT_FOUND, AppSearchResult.RESULT_INVALID_SCHEMA, AppSearchResult.RESULT_SECURITY_ERROR"
+ errorLine1=" namespaceResult.getResultCode(),"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/appsearch/platformstorage/SearchSessionImpl.java"/>
+ </issue>
+
+</issues>
diff --git a/benchmark/benchmark-macro/lint-baseline.xml b/benchmark/benchmark-macro/lint-baseline.xml
index 61cf10432..30a22e1 100644
--- a/benchmark/benchmark-macro/lint-baseline.xml
+++ b/benchmark/benchmark-macro/lint-baseline.xml
@@ -1,32 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="NewApi"
- message="Class requires API level 24 (current min is 23): `Partial`"
- errorLine1=" is CompilationMode.Partial -> compilationMode.warmupIterations"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/benchmark/macro/Macrobenchmark.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Class requires API level 29 (current min is 23): `Power`"
- errorLine1=" return if (type is PowerMetric.Type.Power) powerUw else energyUws"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/benchmark/macro/perfetto/PowerQuery.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Class requires API level 29 (current min is 23): `Power`"
- errorLine1=" return if (type is PowerMetric.Type.Power) powerUw else energyUws"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/benchmark/macro/perfetto/PowerQuery.kt"/>
- </issue>
+<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
<issue
id="BanThreadSleep"
@@ -73,4 +46,13 @@
file="src/main/java/androidx/benchmark/macro/ProfileInstallBroadcast.kt"/>
</issue>
+ <issue
+ id="PrereleaseSdkCoreDependency"
+ message="Prelease SDK check isAtLeastU cannot be called as this project has a versioned dependency on androidx.core:core"
+ errorLine1=" if (BuildCompat.isAtLeastU() || Shell.isSessionRooted()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/benchmark/macro/CompilationMode.kt"/>
+ </issue>
+
</issues>
diff --git a/benchmark/integration-tests/macrobenchmark-target/lint-baseline.xml b/benchmark/integration-tests/macrobenchmark-target/lint-baseline.xml
index 7a8a126..4ac1b48 100644
--- a/benchmark/integration-tests/macrobenchmark-target/lint-baseline.xml
+++ b/benchmark/integration-tests/macrobenchmark-target/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.0.0-beta03" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.0-beta03)" variant="all" version="8.0.0-beta03">
<issue
id="BanThreadSleep"
@@ -22,24 +22,6 @@
<issue
id="BanThreadSleep"
message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(1000)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/BaseTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(eventTime - now - 10);"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/swipe/ManualSwipeInjector.java"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
errorLine1=" trace("tracing") { Thread.sleep(50) }"
errorLine2=" ~~~~~">
<location
diff --git a/bluetooth/integration-tests/testapp/lint-baseline.xml b/bluetooth/integration-tests/testapp/lint-baseline.xml
deleted file mode 100644
index b71b1a5..0000000
--- a/bluetooth/integration-tests/testapp/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="DiffUtilEquals"
- message="Suspicious equality check: `equals()` is not implemented in BluetoothDevice"
- errorLine1=" return oldItem.device == newItem.device"
- errorLine2=" ~~">
- <location
- file="src/main/java/androidx/bluetooth/integration/testapp/ui/scanner/ScannerAdapter.kt"/>
- </issue>
-
-</issues>
diff --git a/browser/browser/lint-baseline.xml b/browser/browser/lint-baseline.xml
new file mode 100644
index 0000000..e24f015
--- /dev/null
+++ b/browser/browser/lint-baseline.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="6" by="lint 8.1.0-alpha11" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-alpha11)" variant="all" version="8.1.0-alpha11">
+
+ <issue
+ id="RequireUnstableAidlAnnotation"
+ message="Unstable AIDL files must be annotated with `@RequiresOptIn` marker"
+ errorLine1="interface ICustomTabsCallback {"
+ errorLine2="^">
+ <location
+ file="src/main/aidl/android/support/customtabs/ICustomTabsCallback.aidl"/>
+ </issue>
+
+ <issue
+ id="RequireUnstableAidlAnnotation"
+ message="Unstable AIDL files must be annotated with `@RequiresOptIn` marker"
+ errorLine1="interface ICustomTabsService {"
+ errorLine2="^">
+ <location
+ file="src/main/aidl/android/support/customtabs/ICustomTabsService.aidl"/>
+ </issue>
+
+ <issue
+ id="RequireUnstableAidlAnnotation"
+ message="Unstable AIDL files must be annotated with `@RequiresOptIn` marker"
+ errorLine1="interface IEngagementSignalsCallback {"
+ errorLine2="^">
+ <location
+ file="src/main/aidl/android/support/customtabs/IEngagementSignalsCallback.aidl"/>
+ </issue>
+
+ <issue
+ id="RequireUnstableAidlAnnotation"
+ message="Unstable AIDL files must be annotated with `@RequiresOptIn` marker"
+ errorLine1="interface IPostMessageService {"
+ errorLine2="^">
+ <location
+ file="src/main/aidl/android/support/customtabs/IPostMessageService.aidl"/>
+ </issue>
+
+ <issue
+ id="RequireUnstableAidlAnnotation"
+ message="Unstable AIDL files must be annotated with `@RequiresOptIn` marker"
+ errorLine1="interface ITrustedWebActivityCallback {"
+ errorLine2="^">
+ <location
+ file="src/main/aidl/android/support/customtabs/trusted/ITrustedWebActivityCallback.aidl"/>
+ </issue>
+
+ <issue
+ id="RequireUnstableAidlAnnotation"
+ message="Unstable AIDL files must be annotated with `@RequiresOptIn` marker"
+ errorLine1="interface ITrustedWebActivityService {"
+ errorLine2="^">
+ <location
+ file="src/main/aidl/android/support/customtabs/trusted/ITrustedWebActivityService.aidl"/>
+ </issue>
+
+</issues>
diff --git a/buildSrc-tests/src/test/java/androidx/build/AndroidXImplPluginTest.kt b/buildSrc-tests/src/test/java/androidx/build/AndroidXImplPluginTest.kt
index d3b6f57..970c9ea 100644
--- a/buildSrc-tests/src/test/java/androidx/build/AndroidXImplPluginTest.kt
+++ b/buildSrc-tests/src/test/java/androidx/build/AndroidXImplPluginTest.kt
@@ -86,4 +86,47 @@
val actual = removeTargetSdkVersion(manifest)
Assert.assertEquals(expected, actual)
}
+
+ @Test
+ fun testRemoveLineAndColumnAttributes() {
+ /* ktlint-disable max-line-length */
+ val baseline = """
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="6" by="lint 7.4.0-alpha01" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha01)" variant="all" version="7.4.0-alpha01">
+
+ <issue
+ id="NewApi"
+ message="Call requires API level 24 (current min is 14): `java.util.Optional#of`"
+ errorLine1=" return Optional.of(modeCompat);"
+ errorLine2=" ~~">
+ <location
+ file="src/test/java/androidx/core/view/DisplayCompatTest.java"
+ line="74"
+ column="33"/>
+ </issue>
+
+</issues>
+ """
+
+ // Expect that the line and column attributes are removed.
+ val expected = """
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="6" by="lint 7.4.0-alpha01" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha01)" variant="all" version="7.4.0-alpha01">
+
+ <issue
+ id="NewApi"
+ message="Call requires API level 24 (current min is 14): `java.util.Optional#of`"
+ errorLine1=" return Optional.of(modeCompat);"
+ errorLine2=" ~~">
+ <location
+ file="src/test/java/androidx/core/view/DisplayCompatTest.java"/>
+ </issue>
+
+</issues>
+ """
+ /* ktlint-enable max-line-length */
+
+ val actual = removeLineAndColumnAttributes(baseline)
+ Assert.assertEquals(expected, actual)
+ }
}
diff --git a/buildSrc/private/src/main/kotlin/androidx/build/AndroidXImplPlugin.kt b/buildSrc/private/src/main/kotlin/androidx/build/AndroidXImplPlugin.kt
index bd42717..21fb3f1 100644
--- a/buildSrc/private/src/main/kotlin/androidx/build/AndroidXImplPlugin.kt
+++ b/buildSrc/private/src/main/kotlin/androidx/build/AndroidXImplPlugin.kt
@@ -1317,4 +1317,8 @@
}
}
+/** Removes the line and column attributes from the [baseline]. */
+fun removeLineAndColumnAttributes(baseline: String): String =
+ baseline.replace("\\s*(line|column)=\"\\d+?\"".toRegex(), "")
+
const val PROJECT_OR_ARTIFACT_EXT_NAME = "projectOrArtifact"
diff --git a/buildSrc/private/src/main/kotlin/androidx/build/LintConfiguration.kt b/buildSrc/private/src/main/kotlin/androidx/build/LintConfiguration.kt
index 9636f5e..28200ee 100644
--- a/buildSrc/private/src/main/kotlin/androidx/build/LintConfiguration.kt
+++ b/buildSrc/private/src/main/kotlin/androidx/build/LintConfiguration.kt
@@ -93,11 +93,6 @@
* Android Lint configuration entry point for non-Android projects.
*/
private fun Project.configureNonAndroidProjectForLint() = afterEvaluate {
- // TODO(aurimas): remove this workaround for b/293900782 after upgrading to AGP 8.2.0-beta01
- if (path == ":collection:collection-benchmark-kmp" ||
- path == ":benchmark:benchmark-darwin-samples") {
- return@afterEvaluate
- }
// The lint plugin expects certain configurations and source sets which are only added by
// the Java and Android plugins. If this is a multiplatform project targeting JVM, we'll
// need to manually create these configurations and source sets based on their multiplatform
@@ -317,6 +312,19 @@
checkReleaseBuilds = false
}
+ tasks.withType(AndroidLintTask::class.java).configureEach { task ->
+ // Remove the lint and column attributes from generated lint baseline XML.
+ if (task.name.startsWith("updateLintBaseline")) {
+ task.doLast {
+ task.projectInputs.lintOptions.baseline.orNull?.asFile?.let { file ->
+ if (file.exists()) {
+ file.writeText(removeLineAndColumnAttributes(file.readText()))
+ }
+ }
+ }
+ }
+ }
+
// Lint is configured entirely in finalizeDsl so that individual projects cannot easily
// disable individual checks in the DSL for any reason.
lint.apply {
diff --git a/camera/camera-camera2-pipe/lint-baseline.xml b/camera/camera-camera2-pipe/lint-baseline.xml
deleted file mode 100644
index 296ac95..0000000
--- a/camera/camera-camera2-pipe/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="NewApi"
- message="Class requires API level 33 (current min is 21): `ExternalOutputConfig`"
- errorLine1=" (output as? OutputStream.Config.ExternalOutputConfig)?.output"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/camera2/pipe/graph/StreamGraphImpl.kt"/>
- </issue>
-
-</issues>
diff --git a/camera/camera-extensions/lint-baseline.xml b/camera/camera-extensions/lint-baseline.xml
index 92ee546..2931c74 100644
--- a/camera/camera-extensions/lint-baseline.xml
+++ b/camera/camera-extensions/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
<issue
id="BanThreadSleep"
@@ -10,4 +10,22 @@
file="src/main/java/androidx/camera/extensions/internal/compat/workaround/OnEnableDisableSessionDurationCheck.java"/>
</issue>
+ <issue
+ id="BanThreadSleep"
+ message="Uses Thread.sleep()"
+ errorLine1=" Thread.sleep(duration)"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/androidTest/java/androidx/camera/extensions/internal/compat/workaround/OnEnableDisableSessionDurationCheckTest.kt"/>
+ </issue>
+
+ <issue
+ id="BanThreadSleep"
+ message="Uses Thread.sleep()"
+ errorLine1=" Thread.sleep(duration)"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/androidTest/java/androidx/camera/extensions/internal/compat/workaround/OnEnableDisableSessionDurationCheckTest.kt"/>
+ </issue>
+
</issues>
diff --git a/camera/camera-testing/lint-baseline.xml b/camera/camera-testing/lint-baseline.xml
index 5e26c64..9b5a72b 100644
--- a/camera/camera-testing/lint-baseline.xml
+++ b/camera/camera-testing/lint-baseline.xml
@@ -1,5 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.0.0-beta03" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.0-beta03)" variant="all" version="8.0.0-beta03">
+
+ <issue
+ id="BanThreadSleep"
+ message="Uses Thread.sleep()"
+ errorLine1=" Thread.sleep(RETRY_DELAY_MS);"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/camera/testing/CameraUtil.java"/>
+ </issue>
<issue
id="BanThreadSleep"
diff --git a/camera/camera-video/lint-baseline.xml b/camera/camera-video/lint-baseline.xml
index 6cb1056..303aa35 100644
--- a/camera/camera-video/lint-baseline.xml
+++ b/camera/camera-video/lint-baseline.xml
@@ -1,14 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="NewApi"
- message="Class requires API level 21 (current min is 14): `Status`"
- errorLine1=" is VideoRecordEvent.Status -> {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidTest/java/androidx/camera/video/VideoRecordingTest.kt"/>
- </issue>
+<issues format="6" by="lint 8.0.0-beta03" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.0-beta03)" variant="all" version="8.0.0-beta03">
<issue
id="BanThreadSleep"
@@ -46,4 +37,13 @@
file="src/androidTest/java/androidx/camera/video/internal/encoder/VideoEncoderTest.kt"/>
</issue>
+ <issue
+ id="IgnoreClassLevelDetector"
+ message="@Ignore should not be used at the class level. Move the annotation to each test individually."
+ errorLine1="@Ignore("b/274840083")"
+ errorLine2="~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/test/java/androidx/camera/video/internal/audio/AudioSourceTest.kt"/>
+ </issue>
+
</issues>
diff --git a/car/app/app-samples/navigation/mobile/lint-baseline.xml b/car/app/app-samples/navigation/mobile/lint-baseline.xml
deleted file mode 100644
index d28831e..0000000
--- a/car/app/app-samples/navigation/mobile/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="ForegroundServicePermission"
- message="foregroundServiceType:location requires permission:[android.permission.FOREGROUND_SERVICE_LOCATION] AND any permission in list:[android.permission.ACCESS_COARSE_LOCATION, android.permission.ACCESS_FINE_LOCATION]"
- errorLine1=" <service"
- errorLine2=" ^">
- <location
- file="src/main/AndroidManifest.xml"/>
- </issue>
-
-</issues>
diff --git a/car/app/app-samples/showcase/common/lint-baseline.xml b/car/app/app-samples/showcase/common/lint-baseline.xml
index d9f9bc5..7034574 100644
--- a/car/app/app-samples/showcase/common/lint-baseline.xml
+++ b/car/app/app-samples/showcase/common/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
<issue
id="BanThreadSleep"
@@ -11,12 +11,12 @@
</issue>
<issue
- id="UnspecifiedRegisterReceiverFlag"
- message="`mBroadcastReceiver` \
is missing `RECEIVER_EXPORTED` or `RECEIVER_NOT_EXPORTED` flag for unprotected \
broadcasts registered for androidx.car.app.sample.showcase.common.INTENT_ACTION_PRIMARY_PHONE, androidx.car.app.sample.showcase.common.INTENT_ACTION_SECONDARY_PHONE"
- errorLine1=" getCarContext().registerReceiver(mBroadcastReceiver, filter);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ id="UnsafeOptInUsageError"
+ message="This declaration is opt-in and its usage should be marked with `@androidx.car.app.annotations.ExperimentalCarApi` or `@OptIn(markerClass = androidx.car.app.annotations.ExperimentalCarApi.class)`"
+ errorLine1=" .addAction(createFabBackAction())"
+ errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/androidx/car/app/sample/showcase/common/screens/templatelayouts/gridtemplates/NotificationDemoScreen.java"/>
+ file="src/main/java/androidx/car/app/sample/showcase/common/screens/templatelayouts/tabtemplates/TabTemplateDemoScreen.java"/>
</issue>
<issue
diff --git a/car/app/app/lint-baseline.xml b/car/app/app/lint-baseline.xml
index 081db79..e148a65 100644
--- a/car/app/app/lint-baseline.xml
+++ b/car/app/app/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
<issue
id="MissingPermission"
@@ -362,6 +362,15 @@
</issue>
<issue
+ id="NullabilityAnnotationsDetector"
+ message="Use `@androidx.annotation.NonNull` instead of `@org.jetbrains.annotations.NotNull`"
+ errorLine1=" public void sendPanModeChanged(boolean isInPanMode, @NonNull @NotNull OnDoneCallback callback) {"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/car/app/navigation/model/PanModeDelegateImpl.java"/>
+ </issue>
+
+ <issue
id="PrivateConstructorForUtilityClass"
message="Utility class is missing private constructor"
errorLine1="class PersonsEqualityHelper {"
@@ -371,24 +380,6 @@
</issue>
<issue
- id="UnspecifiedRegisterReceiverFlag"
- message="`mBroadcastReceiver` \
is missing `RECEIVER_EXPORTED` or `RECEIVER_NOT_EXPORTED` flag for unprotected \
broadcasts registered for androidx.car.app.connection.action.CAR_CONNECTION_UPDATED"
- errorLine1=" mContext.registerReceiver(mBroadcastReceiver, filter);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/car/app/connection/CarConnectionTypeLiveData.java"/>
- </issue>
-
- <issue
- id="UnsafeOptInUsageError"
- message="This declaration is opt-in and its usage should be marked with `@androidx.car.app.annotations.ExperimentalCarApi` or `@OptIn(markerClass = androidx.car.app.annotations.ExperimentalCarApi.class)`"
- errorLine1=" } else if (rowObj instanceof ConversationItem) {"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/car/app/model/constraints/RowListConstraints.java"/>
- </issue>
-
- <issue
id="SupportAnnotationUsage"
message="This annotation does not apply for type java.util.List<androidx.car.app.hardware.climate.CarClimateFeature>; expected int"
errorLine1=" @ClimateProfileRequest.ClimateProfileFeature"
diff --git a/cardview/cardview/lint-baseline.xml b/cardview/cardview/lint-baseline.xml
deleted file mode 100644
index bc26e05..0000000
--- a/cardview/cardview/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="NewApi"
- message="Class requires API level 21 (current min is 14): `CardViewApi21Impl`"
- errorLine1=" if (!(IMPL instanceof CardViewApi21Impl)) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/cardview/widget/CardView.java"/>
- </issue>
-
-</issues>
diff --git a/collection/collection/lint-baseline.xml b/collection/collection/lint-baseline.xml
deleted file mode 100644
index 2c81c26..0000000
--- a/collection/collection/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(100)"
- errorLine2=" ~~~~~">
- <location
- file="src/jvmTest/kotlin/androidx/collection/SimpleArrayMapJvmTest.kt"/>
- </issue>
-
-</issues>
diff --git a/compose/animation/animation-core/lint-baseline.xml b/compose/animation/animation-core/lint-baseline.xml
index b9a2423..9b3a498 100644
--- a/compose/animation/animation-core/lint-baseline.xml
+++ b/compose/animation/animation-core/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="PrimitiveInLambda"
@@ -66,7 +66,7 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateFloatAsState has parameter 'finishedListener' with type Function1<? super Float, Unit>."
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateFloatAsState has parameter 'finishedListener' with type Function1<? super Float, ? extends Unit>."
errorLine1=" finishedListener: ((Float) -> Unit)? = null"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -75,7 +75,7 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateDpAsState has parameter 'finishedListener' with type Function1<? super Dp, Unit>."
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateDpAsState has parameter 'finishedListener' with type Function1<? super Dp, ? extends Unit>."
errorLine1=" finishedListener: ((Dp) -> Unit)? = null"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -84,7 +84,7 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateSizeAsState has parameter 'finishedListener' with type Function1<? super Size, Unit>."
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateSizeAsState has parameter 'finishedListener' with type Function1<? super Size, ? extends Unit>."
errorLine1=" finishedListener: ((Size) -> Unit)? = null"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -93,7 +93,7 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateOffsetAsState has parameter 'finishedListener' with type Function1<? super Offset, Unit>."
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateOffsetAsState has parameter 'finishedListener' with type Function1<? super Offset, ? extends Unit>."
errorLine1=" finishedListener: ((Offset) -> Unit)? = null"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -102,7 +102,7 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateIntAsState has parameter 'finishedListener' with type Function1<? super Integer, Unit>."
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateIntAsState has parameter 'finishedListener' with type Function1<? super Integer, ? extends Unit>."
errorLine1=" finishedListener: ((Int) -> Unit)? = null"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -111,7 +111,7 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateIntOffsetAsState has parameter 'finishedListener' with type Function1<? super IntOffset, Unit>."
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateIntOffsetAsState has parameter 'finishedListener' with type Function1<? super IntOffset, ? extends Unit>."
errorLine1=" finishedListener: ((IntOffset) -> Unit)? = null"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -120,7 +120,7 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateIntSizeAsState has parameter 'finishedListener' with type Function1<? super IntSize, Unit>."
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateIntSizeAsState has parameter 'finishedListener' with type Function1<? super IntSize, ? extends Unit>."
errorLine1=" finishedListener: ((IntSize) -> Unit)? = null"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
diff --git a/compose/animation/animation/lint-baseline.xml b/compose/animation/animation/lint-baseline.xml
index 76c606a..5f05c6f 100644
--- a/compose/animation/animation/lint-baseline.xml
+++ b/compose/animation/animation/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="PrimitiveInLambda"
@@ -255,7 +255,7 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateColorAsState has parameter 'finishedListener' with type Function1<? super Color, Unit>."
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateColorAsState has parameter 'finishedListener' with type Function1<? super Color, ? extends Unit>."
errorLine1=" finishedListener: ((Color) -> Unit)? = null"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
diff --git a/compose/foundation/foundation/integration-tests/foundation-demos/lint-baseline.xml b/compose/foundation/foundation/integration-tests/foundation-demos/lint-baseline.xml
index 4944215..07ba822 100644
--- a/compose/foundation/foundation/integration-tests/foundation-demos/lint-baseline.xml
+++ b/compose/foundation/foundation/integration-tests/foundation-demos/lint-baseline.xml
@@ -1,23 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="NewApi"
- message="Call requires API level 24 (current min is 21): `java.util.Map#getOrDefault`"
- errorLine1=" val selected = selectedIndexes.getOrDefault(item, false)"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/compose/foundation/demos/ListDemos.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 24; however, the containing class androidx.compose.foundation.demos.ListDemosKt is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" val selected = selectedIndexes.getOrDefault(item, false)"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/compose/foundation/demos/ListDemos.kt"/>
- </issue>
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="PrimitiveInLambda"
diff --git a/compose/foundation/foundation/lint-baseline.xml b/compose/foundation/foundation/lint-baseline.xml
index b49d292..c5a68c5 100644
--- a/compose/foundation/foundation/lint-baseline.xml
+++ b/compose/foundation/foundation/lint-baseline.xml
@@ -1,14 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="NewApi"
- message="Class requires API level 28 (current min is 21): `PlatformMagnifierImpl`"
- errorLine1=" ) as PlatformMagnifierFactoryApi28Impl.PlatformMagnifierImpl"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/foundation/PlatformMagnifierTest.kt"/>
- </issue>
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="BanThreadSleep"
@@ -489,7 +480,7 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'itemContent' with type Function2<? super LazyItemScope, ? super Integer, Unit>."
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'itemContent' with type Function2<? super LazyItemScope, ? super Integer, ? extends Unit>."
errorLine1=" itemContent: @Composable LazyItemScope.(index: Int) -> Unit"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -2055,7 +2046,7 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method platformSpecificTextInputSession has parameter 'onImeAction' with type Function1<? super ImeAction, Unit>."
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method platformSpecificTextInputSession has parameter 'onImeAction' with type Function1<? super ImeAction, ? extends Unit>."
errorLine1=" onImeAction: ((ImeAction) -> Unit)?"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
diff --git a/compose/integration-tests/demos/lint-baseline.xml b/compose/integration-tests/demos/lint-baseline.xml
deleted file mode 100644
index 7cde1bf..0000000
--- a/compose/integration-tests/demos/lint-baseline.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(1000)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/BaseTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(eventTime - now - 10);"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/swipe/ManualSwipeInjector.java"/>
- </issue>
-
-</issues>
diff --git a/compose/lint/internal-lint-checks/lint-baseline.xml b/compose/lint/internal-lint-checks/lint-baseline.xml
deleted file mode 100644
index c8ab761..0000000
--- a/compose/lint/internal-lint-checks/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="LintImplUseUast"
- message="Don't call `PsiMember#getContainingClass()`; you should use UAST instead and call `getContainingUClass()`"
- errorLine1=" "constructor ${parent.containingClass?.name}""
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/compose/lint/PrimitiveInLambdaDetector.kt"/>
- </issue>
-
-</issues>
diff --git a/compose/material3/material3/lint-baseline.xml b/compose/material3/material3/lint-baseline.xml
index ae3e747..e295f4e 100644
--- a/compose/material3/material3/lint-baseline.xml
+++ b/compose/material3/material3/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="BanThreadSleep"
@@ -182,6 +182,24 @@
</issue>
<issue
+ id="ExperimentalPropertyAnnotation"
+ message="This property does not have all required annotations to correctly mark it as experimental."
+ errorLine1=" @ExperimentalMaterial3Api"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeableV2.kt"/>
+ </issue>
+
+ <issue
+ id="ExperimentalPropertyAnnotation"
+ message="This property does not have all required annotations to correctly mark it as experimental."
+ errorLine1=" @ExperimentalMaterial3Api"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeableV2.kt"/>
+ </issue>
+
+ <issue
id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BottomSheetScaffoldLayout has parameter 'bottomSheet' with type Function1<? super Integer, Unit>."
errorLine1=" bottomSheet: @Composable (layoutHeight: Int) -> Unit,"
@@ -660,6 +678,42 @@
<issue
id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor DismissState has parameter 'positionalThreshold' with type Function2<? super Density, ? super Float, Float>."
+ errorLine1=" positionalThreshold: Density.(totalDistance: Float) -> Float ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeToDismiss.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Saver has parameter 'positionalThreshold' with type Function2<? super Density, ? super Float, Float>."
+ errorLine1=" positionalThreshold: Density.(totalDistance: Float) -> Float,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeToDismiss.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberDismissState has parameter 'positionalThreshold' with type Function2<? super Density, ? super Float, Float>."
+ errorLine1=" positionalThreshold: Density.(totalDistance: Float) -> Float ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeToDismiss.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<Density, Float, Float> of 'getFixedPositionalThreshold'."
+ errorLine1=" val FixedPositionalThreshold: Density.(totalDistance: Float) -> Float = { _ -> 56.dp.toPx() }"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeToDismiss.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setThresholds$lint_module has parameter '<set-?>' with type Function2<? super Float, ? super Float, Float>."
errorLine1=" internal var thresholds: (Float, Float) -> Float by mutableStateOf({ _, _ -> 0f })"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -696,6 +750,78 @@
<issue
id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor SwipeableV2State has parameter 'positionalThreshold' with type Function2<? super Density, ? super Float, Float>."
+ errorLine1=" internal val positionalThreshold: Density.(totalDistance: Float) -> Float ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeableV2.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<Density, Float, Float> of 'getPositionalThreshold$lint_module'."
+ errorLine1=" internal val positionalThreshold: Density.(totalDistance: Float) -> Float ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeableV2.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Saver has parameter 'positionalThreshold' with type Function2<? super Density, ? super Float, Float>."
+ errorLine1=" positionalThreshold: Density.(distance: Float) -> Float,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeableV2.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<Density, Float, Float> of 'fixedPositionalThreshold'."
+ errorLine1="internal fun fixedPositionalThreshold(threshold: Dp): Density.(distance: Float) -> Float = {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeableV2.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<Density, Float, Float> of 'fractionalPositionalThreshold'."
+ errorLine1="): Density.(distance: Float) -> Float = { distance -> distance * fraction }"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeableV2.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<Density, Float, Float> of 'getPositionalThreshold'."
+ errorLine1=" val PositionalThreshold: Density.(totalDistance: Float) -> Float ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeableV2.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method ReconcileAnimationOnAnchorChangeHandler$lint_module has parameter 'animate' with type Function2<? super T, ? super Float, Unit>."
+ errorLine1=" animate: (target: T, velocity: Float) -> Unit,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeableV2.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor SwipeAnchorsModifier has parameter 'onSizeChanged' with type Function1<? super IntSize, Unit>."
+ errorLine1=" private val onSizeChanged: (layoutSize: IntSize) -> Unit,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeableV2.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'valueToOffset' with type Function1<? super Boolean, ? extends Float>."
errorLine1=" val valueToOffset = remember<(Boolean) -> Float>(minBound, maxBound) {"
errorLine2=" ^">
diff --git a/compose/ui/ui-lint/lint-baseline.xml b/compose/ui/ui-lint/lint-baseline.xml
deleted file mode 100644
index 15ca04b..0000000
--- a/compose/ui/ui-lint/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="LintImplUseUast"
- message="Don't call `PsiMember#getContainingClass()`; you should use UAST instead and call `getContainingUClass()`"
- errorLine1=" if (node.containingClass.isClConsumerNode()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/compose/ui/lint/SuspiciousCompositionLocalModifierReadDetector.kt"/>
- </issue>
-
-</issues>
diff --git a/compose/ui/ui-text/lint-baseline.xml b/compose/ui/ui-text/lint-baseline.xml
index 8eb1759..c00a104 100644
--- a/compose/ui/ui-text/lint-baseline.xml
+++ b/compose/ui/ui-text/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="BanInlineOptIn"
@@ -57,7 +57,7 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method transform has parameter 'transform' with type Function3<? super String, ? super Integer, ? super Integer, String>."
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method transform has parameter 'transform' with type Function3<? super String, ? super Integer, ? super Integer, ? extends String>."
errorLine1=" transform: (String, Int, Int) -> String"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
diff --git a/compose/ui/ui/integration-tests/ui-demos/lint-baseline.xml b/compose/ui/ui/integration-tests/ui-demos/lint-baseline.xml
index fd3c355..2e6c0a4 100644
--- a/compose/ui/ui/integration-tests/ui-demos/lint-baseline.xml
+++ b/compose/ui/ui/integration-tests/ui-demos/lint-baseline.xml
@@ -1,23 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(1000)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/BaseTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(eventTime - now - 10);"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/swipe/ManualSwipeInjector.java"/>
- </issue>
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="PrimitiveInLambda"
diff --git a/constraintlayout/constraintlayout-compose/lint-baseline.xml b/constraintlayout/constraintlayout-compose/lint-baseline.xml
index cacb99a..32d1e09 100644
--- a/constraintlayout/constraintlayout-compose/lint-baseline.xml
+++ b/constraintlayout/constraintlayout-compose/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
<issue
id="BanInlineOptIn"
@@ -127,4 +127,13 @@
file="src/androidMain/kotlin/androidx/constraintlayout/compose/MotionCarousel.kt"/>
</issue>
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method fromState has parameter 'onUpdate' with type Function1<? super Float, Unit>."
+ errorLine1=" onUpdate: (newProgress: Float) -> Unit"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/androidMain/kotlin/androidx/constraintlayout/compose/MotionLayout.kt"/>
+ </issue>
+
</issues>
diff --git a/core/core-appdigest/lint-baseline.xml b/core/core-appdigest/lint-baseline.xml
new file mode 100644
index 0000000..0907387
--- /dev/null
+++ b/core/core-appdigest/lint-baseline.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
+
+ <issue
+ id="NewApi"
+ message="Call requires API level 29 (current min is 24): `android.app.UiAutomation#adoptShellPermissionIdentity`"
+ errorLine1=" getUiAutomation().adoptShellPermissionIdentity(Manifest.permission.INSTALL_PACKAGES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/androidTest/java/androidx/core/appdigest/ChecksumsTest.java"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Call requires API level 29 (current min is 24): `android.app.UiAutomation#dropShellPermissionIdentity`"
+ errorLine1=" getUiAutomation().dropShellPermissionIdentity();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/androidTest/java/androidx/core/appdigest/ChecksumsTest.java"/>
+ </issue>
+
+</issues>
diff --git a/core/core-telecom/lint-baseline.xml b/core/core-telecom/lint-baseline.xml
index f9447de..0df9fc9 100644
--- a/core/core-telecom/lint-baseline.xml
+++ b/core/core-telecom/lint-baseline.xml
@@ -1,22 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
+<issues format="6" by="lint 8.1.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.0-beta03)" variant="all" version="8.1.0-alpha07">
<issue
- id="NewApi"
- message="Field requires API level 26 (current min is 14): `Companion`"
- errorLine1=" return hasCapability(CallsManager.CAPABILITY_SUPPORTS_VIDEO_CALLING, bitMap)"
- errorLine2=" ~~~~~~~~~~~~">
+ id="ImplicitCastClassVerificationFailure"
+ message="This expression has type android.telecom.CallException (introduced in API level 34) but it used as type java.lang.Throwable (introduced in API level 1). Run-time class verification will not be able to validate this implicit cast on devices between these API levels."
+ errorLine1=" openResult.completeExceptionally(reason)"
+ errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/core/telecom/internal/utils/Utils.kt"/>
+ file="src/main/java/androidx/core/telecom/CallsManager.kt"/>
</issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 26 (current min is 14): `Companion`"
- errorLine1=" return hasCapability(CallsManager.CAPABILITY_SUPPORTS_CALL_STREAMING, bitMap)"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/telecom/internal/utils/Utils.kt"/>
- </issue>
-
</issues>
diff --git a/core/core/lint-baseline.xml b/core/core/lint-baseline.xml
index 5a6970a..44d14fe 100644
--- a/core/core/lint-baseline.xml
+++ b/core/core/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
<issue
id="NewApi"
@@ -714,18 +714,9 @@
<issue
id="NewApi"
- message="Class requires API level 26 (current min is 14): `OreoCallback`"
- errorLine1=" if (callback instanceof OreoCallback && Build.VERSION.SDK_INT >= 26) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"/>
- </issue>
-
- <issue
- id="NewApi"
message="Call requires API level 20 (current min is 14): `android.view.View#requestApplyInsets`"
- errorLine1=" post { requestApplyInsets() }"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ errorLine1=" requestApplyInsets()"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/androidTest/java/androidx/core/view/WindowInsetsCompatActivityTest.kt"/>
</issue>
@@ -740,15 +731,6 @@
</issue>
<issue
- id="StartActivityAndCollapseDeprecated"
- message="TileService#startActivityAndCollapse(Intent) is deprecated. Use TileService#startActivityAndCollapse(PendingIntent) instead."
- errorLine1=" service.startActivityAndCollapse(intent);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/service/quicksettings/TileServiceCompat.java"/>
- </issue>
-
- <issue
id="WrongConstant"
message="Must be one of: Callback.DISPATCH_MODE_STOP, Callback.DISPATCH_MODE_CONTINUE_ON_SUBTREE"
errorLine1=" super(compat.getDispatchMode());"
@@ -1398,6 +1380,42 @@
<issue
id="ClassVerificationFailure"
+ message="This call references a method added in API level 30; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getStateDescription();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 30; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setStateDescription(stateDescription);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 33; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getUniqueId();"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 33; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setUniqueId(uniqueId);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
message="This call references a method added in API level 18; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mInfo.setViewIdResourceName(viewId);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
diff --git a/credentials/credentials/lint-baseline.xml b/credentials/credentials/lint-baseline.xml
index 491e7c4..48549177 100644
--- a/credentials/credentials/lint-baseline.xml
+++ b/credentials/credentials/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
<issue
id="ClassVerificationFailure"
@@ -562,8 +562,8 @@
<issue
id="ClassVerificationFailure"
message="This call references a method added in API level 28; however, the containing class androidx.credentials.provider.RemoteEntry is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" val sliceBuilder = Slice.Builder(Uri.EMPTY, SliceSpec(SLICE_SPEC_TYPE, REVISION_ID))"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ errorLine1=" val sliceBuilder = Slice.Builder(Uri.EMPTY, SliceSpec("type", 1))"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/credentials/provider/RemoteEntry.kt"/>
</issue>
@@ -571,8 +571,8 @@
<issue
id="ClassVerificationFailure"
message="This call references a method added in API level 28; however, the containing class androidx.credentials.provider.RemoteEntry is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" val sliceBuilder = Slice.Builder(Uri.EMPTY, SliceSpec(SLICE_SPEC_TYPE, REVISION_ID))"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ errorLine1=" val sliceBuilder = Slice.Builder(Uri.EMPTY, SliceSpec("type", 1))"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/credentials/provider/RemoteEntry.kt"/>
</issue>
@@ -580,8 +580,8 @@
<issue
id="ClassVerificationFailure"
message="This call references a method added in API level 28; however, the containing class androidx.credentials.provider.RemoteEntry.Companion is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" val sliceBuilder = Slice.Builder(Uri.EMPTY, SliceSpec(SLICE_SPEC_TYPE, REVISION_ID))"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ errorLine1=" val sliceBuilder = Slice.Builder(Uri.EMPTY, SliceSpec("type", 1))"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/credentials/provider/RemoteEntry.kt"/>
</issue>
@@ -589,8 +589,8 @@
<issue
id="ClassVerificationFailure"
message="This call references a method added in API level 28; however, the containing class androidx.credentials.provider.RemoteEntry.Companion is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" val sliceBuilder = Slice.Builder(Uri.EMPTY, SliceSpec(SLICE_SPEC_TYPE, REVISION_ID))"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ errorLine1=" val sliceBuilder = Slice.Builder(Uri.EMPTY, SliceSpec("type", 1))"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/credentials/provider/RemoteEntry.kt"/>
</issue>
diff --git a/development/update_studio.sh b/development/update_studio.sh
index 74fc2b3..ae6bab6 100755
--- a/development/update_studio.sh
+++ b/development/update_studio.sh
@@ -7,8 +7,8 @@
# Get versions
echo Getting Studio version and link
-AGP_VERSION=${1:-8.2.0-alpha15}
-STUDIO_VERSION_STRING=${2:-"Android Studio Hedgehog | 2023.1.1 Canary 15"}
+AGP_VERSION=${1:-8.1.0}
+STUDIO_VERSION_STRING=${2:-"Android Studio Giraffe | 2022.3.1"}
STUDIO_IFRAME_LINK=`curl "https://developer.android.com/studio/archive.html" | grep "<iframe " | sed "s/.* src=\"\([^\"]*\)\".*/\1/g"`
echo iframe link $STUDIO_IFRAME_LINK
STUDIO_IFRAME_REDIRECT=`curl -s $STUDIO_IFRAME_LINK | grep href | sed 's/.*href="\([^"]*\)".*/\1/g'`
diff --git a/dynamicanimation/dynamicanimation/lint-baseline.xml b/dynamicanimation/dynamicanimation/lint-baseline.xml
index 63482d4..124a9d0 100644
--- a/dynamicanimation/dynamicanimation/lint-baseline.xml
+++ b/dynamicanimation/dynamicanimation/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.0.0-beta03" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.0-beta03)" variant="all" version="8.0.0-beta03">
<issue
id="BanThreadSleep"
@@ -31,6 +31,33 @@
<issue
id="VisibleForTests"
message="This method should only be accessed from tests or within private scope"
+ errorLine1=" if (!getAnimationHandler().isCurrentThread()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/dynamicanimation/animation/DynamicAnimation.java"/>
+ </issue>
+
+ <issue
+ id="VisibleForTests"
+ message="This method should only be accessed from tests or within private scope"
+ errorLine1=" if (!getAnimationHandler().isCurrentThread()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/dynamicanimation/animation/DynamicAnimation.java"/>
+ </issue>
+
+ <issue
+ id="VisibleForTests"
+ message="This method should only be accessed from tests or within private scope"
+ errorLine1=" getAnimationHandler().addAnimationFrameCallback(this, 0);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/dynamicanimation/animation/DynamicAnimation.java"/>
+ </issue>
+
+ <issue
+ id="VisibleForTests"
+ message="This method should only be accessed from tests or within private scope"
errorLine1=" float durationScale = getAnimationHandler().getDurationScale();"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -40,6 +67,60 @@
<issue
id="VisibleForTests"
message="This method should only be accessed from tests or within private scope"
+ errorLine1=" getAnimationHandler().removeCallback(this);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/dynamicanimation/animation/DynamicAnimation.java"/>
+ </issue>
+
+ <issue
+ id="VisibleForTests"
+ message="This method should only be accessed from tests or within private scope"
+ errorLine1=" return mAnimationHandler != null ? mAnimationHandler.getScheduler()"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/dynamicanimation/animation/DynamicAnimation.java"/>
+ </issue>
+
+ <issue
+ id="VisibleForTests"
+ message="This method should only be accessed from tests or within private scope"
+ errorLine1=" : AnimationHandler.getInstance().getScheduler();"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/dynamicanimation/animation/DynamicAnimation.java"/>
+ </issue>
+
+ <issue
+ id="VisibleForTests"
+ message="This method should only be accessed from tests or within private scope"
+ errorLine1=" : AnimationHandler.getInstance().getScheduler();"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/dynamicanimation/animation/DynamicAnimation.java"/>
+ </issue>
+
+ <issue
+ id="VisibleForTests"
+ message="This method should only be accessed from tests or within private scope"
+ errorLine1=" if (mAnimationHandler != null && mAnimationHandler.getScheduler() == scheduler) {"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/dynamicanimation/animation/DynamicAnimation.java"/>
+ </issue>
+
+ <issue
+ id="VisibleForTests"
+ message="This method should only be accessed from tests or within private scope"
+ errorLine1=" mAnimationHandler = new AnimationHandler(scheduler);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/dynamicanimation/animation/DynamicAnimation.java"/>
+ </issue>
+
+ <issue
+ id="VisibleForTests"
+ message="This method should only be accessed from tests or within private scope"
errorLine1=" if (!getAnimationHandler().isCurrentThread()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -47,6 +128,15 @@
</issue>
<issue
+ id="VisibleForTests"
+ message="This method should only be accessed from tests or within private scope"
+ errorLine1=" if (!getAnimationHandler().isCurrentThread()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/dynamicanimation/animation/SpringAnimation.java"/>
+ </issue>
+
+ <issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public T addEndListener(OnAnimationEndListener listener) {"
diff --git a/emoji/emoji/lint-baseline.xml b/emoji/emoji/lint-baseline.xml
index 4555808..c9ce755 100644
--- a/emoji/emoji/lint-baseline.xml
+++ b/emoji/emoji/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="NewApi"
@@ -165,6 +165,87 @@
<issue
id="NewApi"
+ message="Call requires API level 19 (current min is 14): `EmojiTextWatcher`"
+ errorLine1=" mTextWatcher = new EmojiTextWatcher(editText);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/androidTest/java/androidx/emoji/widget/EmojiTextWatcherTest.java"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Call requires API level 19 (current min is 14): `onTextChanged`"
+ errorLine1=" mTextWatcher.onTextChanged(testString, 0, 0, 1);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/androidTest/java/androidx/emoji/widget/EmojiTextWatcherTest.java"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Call requires API level 19 (current min is 14): `onTextChanged`"
+ errorLine1=" mTextWatcher.onTextChanged(testString, 0, 0, 1);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/androidTest/java/androidx/emoji/widget/EmojiTextWatcherTest.java"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Call requires API level 19 (current min is 14): `onTextChanged`"
+ errorLine1=" mTextWatcher.onTextChanged(testString, 0, 0, 1);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/androidTest/java/androidx/emoji/widget/EmojiTextWatcherTest.java"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Call requires API level 19 (current min is 14): `getEmojiReplaceStrategy`"
+ errorLine1=" assertEquals(EmojiCompat.REPLACE_STRATEGY_DEFAULT, mTextWatcher.getEmojiReplaceStrategy());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/androidTest/java/androidx/emoji/widget/EmojiTextWatcherTest.java"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Call requires API level 19 (current min is 14): `onTextChanged`"
+ errorLine1=" mTextWatcher.onTextChanged(testString, 0, 0, 1);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/androidTest/java/androidx/emoji/widget/EmojiTextWatcherTest.java"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Call requires API level 19 (current min is 14): `setEmojiReplaceStrategy`"
+ errorLine1=" mTextWatcher.setEmojiReplaceStrategy(EmojiCompat.REPLACE_STRATEGY_ALL);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/androidTest/java/androidx/emoji/widget/EmojiTextWatcherTest.java"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Call requires API level 19 (current min is 14): `onTextChanged`"
+ errorLine1=" mTextWatcher.onTextChanged(testString, 0, 0, 1);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/androidTest/java/androidx/emoji/widget/EmojiTextWatcherTest.java"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Call requires API level 19 (current min is 14): `onTextChanged`"
+ errorLine1=" mTextWatcher.onTextChanged(testString, 0, 0, 1);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/androidTest/java/androidx/emoji/widget/EmojiTextWatcherTest.java"/>
+ </issue>
+
+ <issue
+ id="NewApi"
message="Call requires API level 19 (current min is 14): `EmojiTransformationMethod`"
errorLine1=" mTransformationMethod = new EmojiTransformationMethod(mWrappedTransformationMethod);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -247,15 +328,6 @@
<issue
id="NewApi"
message="Class requires API level 19 (current min is 14): `EmojiSpan`"
- errorLine1=" return span instanceof EmojiSpan;"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/emoji/widget/SpannableBuilder.java"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Class requires API level 19 (current min is 14): `EmojiSpan`"
errorLine1=" final EmojiSpan span = mock(EmojiSpan.class);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
diff --git a/emoji2/emoji2/lint-baseline.xml b/emoji2/emoji2/lint-baseline.xml
deleted file mode 100644
index 8f8dcf7..0000000
--- a/emoji2/emoji2/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="NewApi"
- message="Class requires API level 19 (current min is 14): `EmojiSpan`"
- errorLine1=" return span instanceof EmojiSpan;"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/emoji2/text/SpannableBuilder.java"/>
- </issue>
-
-</issues>
diff --git a/glance/glance-appwidget/lint-baseline.xml b/glance/glance-appwidget/lint-baseline.xml
index 87160dc..006d6ff 100644
--- a/glance/glance-appwidget/lint-baseline.xml
+++ b/glance/glance-appwidget/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="BanThreadSleep"
@@ -29,6 +29,15 @@
</issue>
<issue
+ id="BanThreadSleep"
+ message="Uses Thread.sleep()"
+ errorLine1=" Thread.sleep(interval)"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/androidTest/kotlin/androidx/glance/appwidget/GlanceAppWidgetReceiverTest.kt"/>
+ </issue>
+
+ <issue
id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method extractAllSizes has parameter 'minSize' with type Function0<DpSize>."
errorLine1="internal fun Bundle.extractAllSizes(minSize: () -> DpSize): List<DpSize> {"
diff --git a/glance/glance-wear-tiles/integration-tests/demos/lint-baseline.xml b/glance/glance-wear-tiles/integration-tests/demos/lint-baseline.xml
deleted file mode 100644
index 667a1f6a..0000000
--- a/glance/glance-wear-tiles/integration-tests/demos/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="WearStandaloneAppFlag"
- message="Missing `<meta-data android:name="com.google.android.wearable.standalone" ../>` element"
- errorLine1=" <application"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/AndroidManifest.xml"/>
- </issue>
-
-</issues>
diff --git a/glance/glance-wear-tiles/integration-tests/template-demos/lint-baseline.xml b/glance/glance-wear-tiles/integration-tests/template-demos/lint-baseline.xml
deleted file mode 100644
index 667a1f6a..0000000
--- a/glance/glance-wear-tiles/integration-tests/template-demos/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="WearStandaloneAppFlag"
- message="Missing `<meta-data android:name="com.google.android.wearable.standalone" ../>` element"
- errorLine1=" <application"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/AndroidManifest.xml"/>
- </issue>
-
-</issues>
diff --git a/gradle.properties b/gradle.properties
index a9e9c6f..50bdb04 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -15,7 +15,6 @@
org.gradle.unsafe.configuration-cache-problems=fail
org.gradle.configuration-cache.inputs.unsafe.ignore.file-system-checks=**/.gradle/.android/analytics.settings;**/intermediates/cxx;**/intermediates/cxx/*;**/nativeBuildStaging/cmake/*/*/*;.cxx/structured-log;**/prefab_package_header_only/prefab_publication.json;**/prefab_package_header_only/prefab_publication.json/*;**/prebuilts/fullsdk-linux;**/prebuilts/fullsdk-linux/platforms/android-*/package.xml;**/androidx/compose/lint/common/build/libs/common.jar
-android.lint.baselineOmitLineNumbers=true
android.lint.printStackTrace=true
android.builder.sdkDownload=false
android.uniquePackageNames=false
@@ -53,7 +52,7 @@
# Disallow resolving dependencies at configuration time, which is a slight performance problem
android.dependencyResolutionAtConfigurationTime.disallow=true
-android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,android.dependencyResolutionAtConfigurationTime.disallow,android.experimental.lint.missingBaselineIsEmptyBaseline,android.lint.printStackTrace,android.lint.baselineOmitLineNumbers,android.experimental.disableCompileSdkChecks,android.overrideVersionCheck,android.r8.maxWorkers
+android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,android.dependencyResolutionAtConfigurationTime.disallow,android.experimental.lint.missingBaselineIsEmptyBaseline,android.lint.printStackTrace,android.experimental.disableCompileSdkChecks,android.overrideVersionCheck,android.r8.maxWorkers
# Workaround for b/162074215
android.includeDependencyInfoInApks=false
# Allow multiple r8 tasks at once because otherwise they can make the critical path longer: b/256187923
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 137b722..28950cc 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -2,13 +2,13 @@
# -----------------------------------------------------------------------------
# All of the following should be updated in sync.
# -----------------------------------------------------------------------------
-androidGradlePlugin = "8.2.0-alpha15"
+androidGradlePlugin = "8.1.0"
# NOTE: When updating the lint version we also need to update the `api` version
# supported by `IssueRegistry`'s.' For e.g. r.android.com/1331903
-androidLint = "31.2.0-alpha15"
+androidLint = "31.1.0"
# Once you have a chosen version of AGP to upgrade to, go to
# https://developer.android.com/studio/archive and find the matching version of Studio.
-androidStudio = "2023.1.1.15"
+androidStudio = "2022.3.1.18"
# -----------------------------------------------------------------------------
androidGradlePluginMin = "7.0.4"
diff --git a/graphics/graphics-core/lint-baseline.xml b/graphics/graphics-core/lint-baseline.xml
index 8fbd449..a01fd91 100644
--- a/graphics/graphics-core/lint-baseline.xml
+++ b/graphics/graphics-core/lint-baseline.xml
@@ -1,256 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
<issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_0 -> SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_90"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ id="PrereleaseSdkCoreDependency"
+ message="Prelease SDK check isAtLeastU cannot be called as this project has a versioned dependency on androidx.core:core"
+ errorLine1=" return if (BuildCompat.isAtLeastU()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_90 -> SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_180"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_180 -> SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_270"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_270 -> SurfaceControlCompat.BUFFER_TRANSFORM_IDENTITY"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_0 -> SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_180"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_90 -> SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_270"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_180 -> SurfaceControlCompat.BUFFER_TRANSFORM_IDENTITY"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_270 -> SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_90"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_0 -> SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_270"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_90 -> SurfaceControlCompat.BUFFER_TRANSFORM_IDENTITY"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_180 -> SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_90"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_270 -> SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_180"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_0 -> SurfaceControlCompat.BUFFER_TRANSFORM_IDENTITY"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_90 -> SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_90"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_180 -> SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_180"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" Surface.ROTATION_270 -> SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_270"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformHintResolver.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_90 ->"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformer.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_270"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformer.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_180 ->"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformer.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_180"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformer.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_270 ->"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformer.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_90"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformer.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" SurfaceControlCompat.BUFFER_TRANSFORM_IDENTITY ->"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformer.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" SurfaceControlCompat.BUFFER_TRANSFORM_IDENTITY"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformer.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_90 -> {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformer.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_180 -> {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformer.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" SurfaceControlCompat.BUFFER_TRANSFORM_ROTATE_270 -> {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformer.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 29 (current min is 17): `Companion`"
- errorLine1=" SurfaceControlCompat.BUFFER_TRANSFORM_IDENTITY -> {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/graphics/lowlatency/BufferTransformer.kt"/>
+ file="src/main/java/androidx/graphics/lowlatency/SingleBufferedCanvasRenderer.kt"/>
</issue>
</issues>
diff --git a/graphics/integration-tests/testapp-compose/lint-baseline.xml b/graphics/integration-tests/testapp-compose/lint-baseline.xml
index 49e5f2e..77a40dc 100644
--- a/graphics/integration-tests/testapp-compose/lint-baseline.xml
+++ b/graphics/integration-tests/testapp-compose/lint-baseline.xml
@@ -1,5 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method MorphComposable has parameter 'progress' with type Function0<Float>."
+ errorLine1=" progress: () -> Float,"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/graphics/shapes/testcompose/MainActivity.kt"/>
+ </issue>
<issue
id="PrimitiveInLambda"
diff --git a/health/connect/connect-client/lint-baseline.xml b/health/connect/connect-client/lint-baseline.xml
index 9aca6f2..d0e77cb 100644
--- a/health/connect/connect-client/lint-baseline.xml
+++ b/health/connect/connect-client/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="BanSynchronizedMethods"
diff --git a/leanback/leanback-preference/lint-baseline.xml b/leanback/leanback-preference/lint-baseline.xml
index e254a45..c24d1486 100644
--- a/leanback/leanback-preference/lint-baseline.xml
+++ b/leanback/leanback-preference/lint-baseline.xml
@@ -1,5 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
+
+ <issue
+ id="MissingLeanbackLauncher"
+ message="Expecting an activity to have `android.intent.category.LEANBACK_LAUNCHER` intent filter"
+ errorLine1="<manifest />"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/AndroidManifest.xml"/>
+ </issue>
+
+ <issue
+ id="ImpliedTouchscreenHardware"
+ message="Hardware feature `android.hardware.touchscreen` not explicitly marked as optional "
+ errorLine1="<manifest />"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/AndroidManifest.xml"/>
+ </issue>
+
+ <issue
+ id="MissingLeanbackSupport"
+ message="Expecting `<uses-feature android:name="android.software.leanback" android:required="false" />` tag"
+ errorLine1="<manifest />"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/AndroidManifest.xml"/>
+ </issue>
<issue
id="UnknownNullness"
diff --git a/lint-checks/src/main/java/androidx/build/lint/PrereleaseSdkCoreDependencyDetector.kt b/lint-checks/src/main/java/androidx/build/lint/PrereleaseSdkCoreDependencyDetector.kt
index c552ac5..fc50974 100644
--- a/lint-checks/src/main/java/androidx/build/lint/PrereleaseSdkCoreDependencyDetector.kt
+++ b/lint-checks/src/main/java/androidx/build/lint/PrereleaseSdkCoreDependencyDetector.kt
@@ -47,7 +47,6 @@
if (method.annotations.none { it.hasQualifiedName(PRERELEASE_SDK_CHECK) }) return
// Check if the project is using a versioned dependency on core
- @Suppress("DEPRECATION")
val dependencies = context.project.buildVariant.mainArtifact.dependencies.getAll()
if (dependencies.any { it.isInvalidCoreDependency() }) {
val incident = Incident(context)
diff --git a/media/media/lint-baseline.xml b/media/media/lint-baseline.xml
index 0d45d5f..de5add1 100644
--- a/media/media/lint-baseline.xml
+++ b/media/media/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="RequireUnstableAidlAnnotation"
diff --git a/media/version-compat-tests/lib/lint-baseline.xml b/media/version-compat-tests/lib/lint-baseline.xml
index 6ce321a..f34ae41 100644
--- a/media/version-compat-tests/lib/lint-baseline.xml
+++ b/media/version-compat-tests/lib/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.0.0-beta03" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.0-beta03)" variant="all" version="8.0.0-beta03">
<issue
id="BanThreadSleep"
@@ -70,7 +70,9 @@
errorLine1=" int methodId, Object arg, Context context, Parcelable token) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/mediacompat/testlib/util/IntentUtil.java"/>
+ file="src/main/java/android/support/mediacompat/testlib/util/IntentUtil.java"
+ line="82"
+ column="39"/>
</issue>
<issue
@@ -79,7 +81,9 @@
errorLine1=" int methodId, Object arg, Context context, Parcelable token) {"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/android/support/mediacompat/testlib/util/IntentUtil.java"/>
+ file="src/main/java/android/support/mediacompat/testlib/util/IntentUtil.java"
+ line="82"
+ column="56"/>
</issue>
<issue
@@ -88,7 +92,9 @@
errorLine1=" int methodId, Object arg, Context context, Parcelable token) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/mediacompat/testlib/util/IntentUtil.java"/>
+ file="src/main/java/android/support/mediacompat/testlib/util/IntentUtil.java"
+ line="96"
+ column="27"/>
</issue>
<issue
@@ -97,7 +103,9 @@
errorLine1=" int methodId, Object arg, Context context, Parcelable token) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/mediacompat/testlib/util/IntentUtil.java"/>
+ file="src/main/java/android/support/mediacompat/testlib/util/IntentUtil.java"
+ line="96"
+ column="39"/>
</issue>
<issue
@@ -106,7 +114,9 @@
errorLine1=" int methodId, Object arg, Context context, Parcelable token) {"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/android/support/mediacompat/testlib/util/IntentUtil.java"/>
+ file="src/main/java/android/support/mediacompat/testlib/util/IntentUtil.java"
+ line="96"
+ column="56"/>
</issue>
<issue
@@ -115,7 +125,9 @@
errorLine1=" public static void waitFor(final PollingCheckCondition condition) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/mediacompat/testlib/util/PollingCheck.java"/>
+ file="src/main/java/android/support/mediacompat/testlib/util/PollingCheck.java"
+ line="76"
+ column="38"/>
</issue>
<issue
@@ -124,7 +136,9 @@
errorLine1=" public static void waitFor(long timeout, final PollingCheckCondition condition) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/mediacompat/testlib/util/PollingCheck.java"/>
+ file="src/main/java/android/support/mediacompat/testlib/util/PollingCheck.java"
+ line="90"
+ column="52"/>
</issue>
<issue
@@ -133,7 +147,9 @@
errorLine1=" public static void assertBundleEquals(Bundle expected, Bundle observed) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/mediacompat/testlib/util/TestUtil.java"/>
+ file="src/main/java/android/support/mediacompat/testlib/util/TestUtil.java"
+ line="33"
+ column="43"/>
</issue>
<issue
@@ -142,7 +158,9 @@
errorLine1=" public static void assertBundleEquals(Bundle expected, Bundle observed) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/mediacompat/testlib/util/TestUtil.java"/>
+ file="src/main/java/android/support/mediacompat/testlib/util/TestUtil.java"
+ line="33"
+ column="60"/>
</issue>
</issues>
diff --git a/media2/media2-session/lint-baseline.xml b/media2/media2-session/lint-baseline.xml
index a9dff84..bcb6051 100644
--- a/media2/media2-session/lint-baseline.xml
+++ b/media2/media2-session/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
<issue
id="WrongConstant"
@@ -38,15 +38,6 @@
</issue>
<issue
- id="UnspecifiedRegisterReceiverFlag"
- message="`mBroadcastReceiver` \
is missing `RECEIVER_EXPORTED` or `RECEIVER_NOT_EXPORTED` flag for unprotected \
broadcasts registered for android.intent.action.MEDIA_BUTTON"
- errorLine1=" context.registerReceiver(mBroadcastReceiver, filter);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/session/MediaSessionImplBase.java"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setTimeDiff(Long timeDiff) {"
diff --git a/media2/media2-session/version-compat-tests/common/lint-baseline.xml b/media2/media2-session/version-compat-tests/common/lint-baseline.xml
index 1cdbbc2..90b9f4e 100644
--- a/media2/media2-session/version-compat-tests/common/lint-baseline.xml
+++ b/media2/media2-session/version-compat-tests/common/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-alpha11" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-alpha11)" variant="all" version="8.1.0-alpha11">
<issue
id="BanThreadSleep"
diff --git a/mediarouter/mediarouter/lint-baseline.xml b/mediarouter/mediarouter/lint-baseline.xml
index db47a78..48e623c 100644
--- a/mediarouter/mediarouter/lint-baseline.xml
+++ b/mediarouter/mediarouter/lint-baseline.xml
@@ -1,5 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
+
+ <issue
+ id="NewApi"
+ message="Call requires API level 27 (current min is 14): `android.app.Activity#setTurnScreenOn`"
+ errorLine1=" setTurnScreenOn(true);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/androidTest/java/androidx/mediarouter/media/MediaRouter2TestActivity.java"/>
+ </issue>
+
+ <issue
+ id="NewApi"
+ message="Call requires API level 27 (current min is 14): `android.app.Activity#setShowWhenLocked`"
+ errorLine1=" setShowWhenLocked(true);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/androidTest/java/androidx/mediarouter/media/MediaRouter2TestActivity.java"/>
+ </issue>
<issue
id="BanThreadSleep"
@@ -74,12 +92,12 @@
</issue>
<issue
- id="UnspecifiedRegisterReceiverFlag"
- message="`mActionReceiver` \
is missing `RECEIVER_EXPORTED` or `RECEIVER_NOT_EXPORTED` flag for unprotected \
broadcasts registered for androidx.mediarouter.media.actions.ACTION_ITEM_STATUS_CHANGED, androidx.mediarouter.media.actions.ACTION_SESSION_STATUS_CHANGED, androidx.mediarouter.media.actions.ACTION_MESSAGE_RECEIVED"
- errorLine1=" context.registerReceiver(mActionReceiver, actionFilter);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ id="PrereleaseSdkCoreDependency"
+ message="Prelease SDK check isAtLeastU cannot be called as this project has a versioned dependency on androidx.core:core"
+ errorLine1=" if (BuildCompat.isAtLeastU()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/mediarouter/media/RemotePlaybackClient.java"/>
+ file="src/main/java/androidx/mediarouter/media/MediaRoute2Provider.java"/>
</issue>
</issues>
diff --git a/metrics/integration-tests/janktest/lint-baseline.xml b/metrics/integration-tests/janktest/lint-baseline.xml
index ff0820d..6a22b28 100644
--- a/metrics/integration-tests/janktest/lint-baseline.xml
+++ b/metrics/integration-tests/janktest/lint-baseline.xml
@@ -1,23 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(1000)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/BaseTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(eventTime - now - 10);"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/swipe/ManualSwipeInjector.java"/>
- </issue>
+<issues format="6" by="lint 8.0.0-beta03" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.0-beta03)" variant="all" version="8.0.0-beta03">
<issue
id="BanThreadSleep"
diff --git a/navigation/navigation-common/lint-baseline.xml b/navigation/navigation-common/lint-baseline.xml
deleted file mode 100644
index b2e8e58..0000000
--- a/navigation/navigation-common/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="NewApi"
- message="Call requires API level 21 (current min is 14): `android.os.BaseBundle#get`"
- errorLine1=" if (!isNullable && bundle.containsKey(name) && bundle[name] == null) {"
- errorLine2=" ~~">
- <location
- file="src/main/java/androidx/navigation/NavArgument.kt"/>
- </issue>
-
-</issues>
diff --git a/navigation/navigation-compose/integration-tests/navigation-demos/lint-baseline.xml b/navigation/navigation-compose/integration-tests/navigation-demos/lint-baseline.xml
deleted file mode 100644
index a83a35d..0000000
--- a/navigation/navigation-compose/integration-tests/navigation-demos/lint-baseline.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(250)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/ui/tooling/ComposeViewAdapterTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(200)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/ui/tooling/ComposeViewAdapterTest.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor InfiniteTransitionClock has parameter 'maxDuration' with type Function0<Long>."
- errorLine1=" private val maxDuration: () -> Long = { 0 }"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/clock/InfiniteTransitionClock.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'getDp' with type Function1<? super Object, ? extends Dp>."
- errorLine1=" fun getDp(par: Any): Dp? {"
- errorLine2=" ^">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/clock/Utils.kt"/>
- </issue>
-
-</issues>
diff --git a/paging/paging-compose/integration-tests/paging-demos/lint-baseline.xml b/paging/paging-compose/integration-tests/paging-demos/lint-baseline.xml
deleted file mode 100644
index a83a35d..0000000
--- a/paging/paging-compose/integration-tests/paging-demos/lint-baseline.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(250)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/ui/tooling/ComposeViewAdapterTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(200)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/ui/tooling/ComposeViewAdapterTest.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor InfiniteTransitionClock has parameter 'maxDuration' with type Function0<Long>."
- errorLine1=" private val maxDuration: () -> Long = { 0 }"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/clock/InfiniteTransitionClock.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'getDp' with type Function1<? super Object, ? extends Dp>."
- errorLine1=" fun getDp(par: Any): Dp? {"
- errorLine2=" ^">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/clock/Utils.kt"/>
- </issue>
-
-</issues>
diff --git a/playground-common/androidx-shared.properties b/playground-common/androidx-shared.properties
index 2f085d2..e4ec300 100644
--- a/playground-common/androidx-shared.properties
+++ b/playground-common/androidx-shared.properties
@@ -59,7 +59,7 @@
# Disallow resolving dependencies at configuration time, which is a slight performance problem
android.dependencyResolutionAtConfigurationTime.disallow=true
-android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,android.dependencyResolutionAtConfigurationTime.disallow,android.experimental.lint.missingBaselineIsEmptyBaseline,android.lint.printStackTrace,android.lint.baselineOmitLineNumbers,android.experimental.disableCompileSdkChecks,android.overrideVersionCheck,android.r8.maxWorkers
+android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,android.dependencyResolutionAtConfigurationTime.disallow,android.experimental.lint.missingBaselineIsEmptyBaseline,android.lint.printStackTrace,android.experimental.disableCompileSdkChecks,android.overrideVersionCheck,android.r8.maxWorkers
# Workaround for b/162074215
android.includeDependencyInfoInApks=false
diff --git a/privacysandbox/ads/ads-adservices/lint-baseline.xml b/privacysandbox/ads/ads-adservices/lint-baseline.xml
deleted file mode 100644
index 872f5d8..0000000
--- a/privacysandbox/ads/ads-adservices/lint-baseline.xml
+++ /dev/null
@@ -1,76 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.ads.adservices.topics.TopicsManagerImplCommon is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" mTopicsManager.getTopics("
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/ads/adservices/topics/TopicsManagerImplCommon.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.ads.adservices.topics.TopicsManagerImplCommon is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" return android.adservices.topics.GetTopicsRequest.Builder()"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/ads/adservices/topics/TopicsManagerImplCommon.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.ads.adservices.topics.TopicsManagerImplCommon is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" .setAdsSdkName(request.adsSdkName)"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/ads/adservices/topics/TopicsManagerImplCommon.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.ads.adservices.topics.TopicsManagerImplCommon is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" .build()"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/ads/adservices/topics/TopicsManagerImplCommon.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.ads.adservices.topics.TopicsManagerImplCommon is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" for (topic in response.topics) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/ads/adservices/topics/TopicsManagerImplCommon.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.ads.adservices.topics.TopicsManagerImplCommon is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" topics.add(Topic(topic.taxonomyVersion, topic.modelVersion, topic.topicId))"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/ads/adservices/topics/TopicsManagerImplCommon.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.ads.adservices.topics.TopicsManagerImplCommon is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" topics.add(Topic(topic.taxonomyVersion, topic.modelVersion, topic.topicId))"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/ads/adservices/topics/TopicsManagerImplCommon.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.ads.adservices.topics.TopicsManagerImplCommon is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" topics.add(Topic(topic.taxonomyVersion, topic.modelVersion, topic.topicId))"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/ads/adservices/topics/TopicsManagerImplCommon.kt"/>
- </issue>
-
-</issues>
diff --git a/privacysandbox/sdkruntime/sdkruntime-client/lint-baseline.xml b/privacysandbox/sdkruntime/sdkruntime-client/lint-baseline.xml
index 61827de..76eb91f 100644
--- a/privacysandbox/sdkruntime/sdkruntime-client/lint-baseline.xml
+++ b/privacysandbox/sdkruntime/sdkruntime-client/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="BanThreadSleep"
@@ -20,46 +20,10 @@
</issue>
<issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.sdkruntime.client.SdkSandboxManagerCompat.ApiAdServicesV4Impl is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" sdkSandboxManager.unloadSdk(sdkName)"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/sdkruntime/client/SdkSandboxManagerCompat.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.sdkruntime.client.SdkSandboxManagerCompat.ApiAdServicesV4Impl is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" sdkSandboxManager.addSdkSandboxProcessDeathCallback(callbackExecutor, delegate)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/sdkruntime/client/SdkSandboxManagerCompat.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.sdkruntime.client.SdkSandboxManagerCompat.ApiAdServicesV4Impl is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" sdkSandboxManager.removeSdkSandboxProcessDeathCallback(delegate)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/sdkruntime/client/SdkSandboxManagerCompat.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.sdkruntime.client.SdkSandboxManagerCompat.ApiAdServicesV4Impl is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" sdkSandboxManager.loadSdk("
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/sdkruntime/client/SdkSandboxManagerCompat.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.sdkruntime.client.SdkSandboxManagerCompat.ApiAdServicesV5Impl is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" .sandboxedSdks"
- errorLine2=" ~~~~~~~~~~~~~">
+ id="PrereleaseSdkCoreDependency"
+ message="Prelease SDK check isAtLeastU cannot be called as this project has a versioned dependency on androidx.core:core"
+ errorLine1=" return if (BuildCompat.isAtLeastU() || AdServicesInfo.isDeveloperPreview()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/privacysandbox/sdkruntime/client/SdkSandboxManagerCompat.kt"/>
</issue>
diff --git a/privacysandbox/sdkruntime/sdkruntime-core/lint-baseline.xml b/privacysandbox/sdkruntime/sdkruntime-core/lint-baseline.xml
index 3f6432a..144f0b3 100644
--- a/privacysandbox/sdkruntime/sdkruntime-core/lint-baseline.xml
+++ b/privacysandbox/sdkruntime/sdkruntime-core/lint-baseline.xml
@@ -1,85 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.sdkruntime.core.LoadSdkCompatException.ApiAdServicesV4Impl is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" return LoadSdkException("
- errorLine2=" ^">
+ id="PrereleaseSdkCoreDependency"
+ message="Prelease SDK check isAtLeastU cannot be called as this project has a versioned dependency on androidx.core:core"
+ errorLine1=" if (BuildCompat.isAtLeastU() || AdServicesInfo.isDeveloperPreview()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/privacysandbox/sdkruntime/core/LoadSdkCompatException.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.sdkruntime.core.LoadSdkCompatException.ApiAdServicesV4Impl is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" toLoadSdkErrorCodeCompat(ex.loadSdkErrorCode),"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/sdkruntime/core/LoadSdkCompatException.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.sdkruntime.core.LoadSdkCompatException.ApiAdServicesV4Impl is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" ex.extraInformation"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/sdkruntime/core/LoadSdkCompatException.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.sdkruntime.core.controller.impl.PlatformImpl is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" .sandboxedSdks"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/sdkruntime/core/controller/impl/PlatformImpl.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.sdkruntime.core.SandboxedSdkCompat.ApiAdServicesV4Impl is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" return sandboxedSdk.getInterface()"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/sdkruntime/core/SandboxedSdkCompat.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.sdkruntime.core.SandboxedSdkCompat.ApiAdServicesV4Impl.Companion is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" return SandboxedSdk(sdkInterface)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/sdkruntime/core/SandboxedSdkCompat.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.sdkruntime.core.SandboxedSdkCompat.ApiAdServicesV5Impl is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" val sharedLibraryInfo = sandboxedSdk.sharedLibraryInfo"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/sdkruntime/core/SandboxedSdkCompat.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.sdkruntime.core.SandboxedSdkProviderAdapter is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=") : SandboxedSdkProvider() {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/sdkruntime/core/SandboxedSdkProviderAdapter.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.sdkruntime.core.SandboxedSdkProviderAdapter is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" val currentContext = context!!"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/sdkruntime/core/SandboxedSdkProviderAdapter.kt"/>
+ file="src/main/java/androidx/privacysandbox/sdkruntime/core/controller/SdkSandboxControllerCompat.kt"/>
</issue>
</issues>
diff --git a/privacysandbox/ui/integration-tests/testaidl/lint-baseline.xml b/privacysandbox/ui/integration-tests/testaidl/lint-baseline.xml
index 53c1983..2af7694 100644
--- a/privacysandbox/ui/integration-tests/testaidl/lint-baseline.xml
+++ b/privacysandbox/ui/integration-tests/testaidl/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="RequireUnstableAidlAnnotation"
diff --git a/privacysandbox/ui/integration-tests/testsdkprovider/lint-baseline.xml b/privacysandbox/ui/integration-tests/testsdkprovider/lint-baseline.xml
deleted file mode 100644
index dbc4c7b..0000000
--- a/privacysandbox/ui/integration-tests/testsdkprovider/lint-baseline.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.ui.integration.testsdkprovider.SdkProviderImpl is reachable from earlier API levels and will fail run-time class verification."
- errorLine1="class SdkProviderImpl : SandboxedSdkProvider() {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/ui/integration/testsdkprovider/SdkProviderImpl.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.ui.integration.testsdkprovider.SdkProviderImpl is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" return SandboxedSdk(SdkApi(context!!))"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/ui/integration/testsdkprovider/SdkProviderImpl.kt"/>
- </issue>
-
- <issue
- id="ClassVerificationFailure"
- message="This call references a method added in API level 34; however, the containing class androidx.privacysandbox.ui.integration.testsdkprovider.SdkProviderImpl is reachable from earlier API levels and will fail run-time class verification."
- errorLine1=" return SandboxedSdk(SdkApi(context!!))"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/privacysandbox/ui/integration/testsdkprovider/SdkProviderImpl.kt"/>
- </issue>
-
-</issues>
diff --git a/privacysandbox/ui/ui-core/lint-baseline.xml b/privacysandbox/ui/ui-core/lint-baseline.xml
index 910455e..c41336f 100644
--- a/privacysandbox/ui/ui-core/lint-baseline.xml
+++ b/privacysandbox/ui/ui-core/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="RequireUnstableAidlAnnotation"
diff --git a/room/integration-tests/testapp/lint-baseline.xml b/room/integration-tests/testapp/lint-baseline.xml
index 6215fa9..aa5386e 100644
--- a/room/integration-tests/testapp/lint-baseline.xml
+++ b/room/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.0.0-beta03" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.0-beta03)" variant="all" version="8.0.0-beta03">
<issue
id="NewApi"
diff --git a/room/room-rxjava2/lint-baseline.xml b/room/room-rxjava2/lint-baseline.xml
index 3d87c11..656b9b3 100644
--- a/room/room-rxjava2/lint-baseline.xml
+++ b/room/room-rxjava2/lint-baseline.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
+<issues format="6" by="lint 8.0.0-beta03" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.0-beta03)" variant="all" version="8.0.0-beta03">
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
diff --git a/samples/AndroidXDemos/lint-baseline.xml b/samples/AndroidXDemos/lint-baseline.xml
index 7b8bf98..ac89c9e 100644
--- a/samples/AndroidXDemos/lint-baseline.xml
+++ b/samples/AndroidXDemos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.0.0-beta03" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.0-beta03)" variant="all" version="8.0.0-beta03">
<issue
id="OnClick"
@@ -293,24 +293,6 @@
</issue>
<issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(1000)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/BaseTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(eventTime - now - 10);"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/swipe/ManualSwipeInjector.java"/>
- </issue>
-
- <issue
id="ClassVerificationFailure"
message="This call references a method added in API level 29; however, the containing class com.example.androidx.app.AppCompatDefaultNightModeBootAwareActivity is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .detectImplicitDirectBoot()"
diff --git a/samples/MediaRoutingDemo/lint-baseline.xml b/samples/MediaRoutingDemo/lint-baseline.xml
deleted file mode 100644
index af8264e..0000000
--- a/samples/MediaRoutingDemo/lint-baseline.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(1000)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/BaseTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(eventTime - now - 10);"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/swipe/ManualSwipeInjector.java"/>
- </issue>
-
-</issues>
diff --git a/samples/Support4Demos/lint-baseline.xml b/samples/Support4Demos/lint-baseline.xml
index 8d63c2f..06c6971 100644
--- a/samples/Support4Demos/lint-baseline.xml
+++ b/samples/Support4Demos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.0.0-beta03" type="baseline" client="gradle" dependencies="false" name="AGP (8.0.0-beta03)" variant="all" version="8.0.0-beta03">
<issue
id="MissingPermission"
@@ -164,15 +164,6 @@
</issue>
<issue
- id="ForegroundServiceType"
- message="To call `Service.startForeground()`, the `<service>` element of manifest file must have the `foregroundServiceType` attribute specified"
- errorLine1=" mService.startForeground(NOTIFICATION_ID, notification);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"/>
- </issue>
-
- <issue
id="MetadataTagInsideApplicationTag"
message="Detected <application>-level meta-data tag."
errorLine1=" <meta-data"
@@ -191,15 +182,6 @@
</issue>
<issue
- id="UnspecifiedRegisterReceiverFlag"
- message="`this` \
is missing `RECEIVER_EXPORTED` or `RECEIVER_NOT_EXPORTED` flag for unprotected \
broadcasts registered for com.example.android.supportv4.media.next, com.example.android.supportv4.media.pause, com.example.android.supportv4.media.play, com.example.android.supportv4.media.prev"
- errorLine1=" mService.registerReceiver(this, filter);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"/>
- </issue>
-
- <issue
id="UnspecifiedImmutableFlag"
message="Missing `PendingIntent` mutability flag"
errorLine1=" GET_INTENT_SENDER_CODE, intent, 0);"
diff --git a/samples/SupportContentDemos/lint-baseline.xml b/samples/SupportContentDemos/lint-baseline.xml
index 5517894..260f1e9 100644
--- a/samples/SupportContentDemos/lint-baseline.xml
+++ b/samples/SupportContentDemos/lint-baseline.xml
@@ -1,23 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(1000)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/BaseTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(eventTime - now - 10);"
- errorLine2=" ~~~~~">
- <location
- file="src/androidTest/java/androidx/viewpager2/widget/swipe/ManualSwipeInjector.java"/>
- </issue>
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/samples/SupportWearDemos/lint-baseline.xml b/samples/SupportWearDemos/lint-baseline.xml
index 2098c9c..cfbc3a4 100644
--- a/samples/SupportWearDemos/lint-baseline.xml
+++ b/samples/SupportWearDemos/lint-baseline.xml
@@ -1,14 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="WearStandaloneAppFlag"
- message="Missing `<meta-data android:name="com.google.android.wearable.standalone" ../>` element"
- errorLine1=" <application"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/AndroidManifest.xml"/>
- </issue>
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/tracing/tracing-perfetto/lint-baseline.xml b/tracing/tracing-perfetto/lint-baseline.xml
new file mode 100644
index 0000000..37fd893
--- /dev/null
+++ b/tracing/tracing-perfetto/lint-baseline.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
+
+ <issue
+ id="EnsureInitializerMetadata"
+ message="Every Initializer needs to be accompanied by a corresponding <meta-data> entry in the AndroidManifest.xml file.">
+ <location
+ file="src/main/java/androidx/tracing/perfetto/StartupTracingInitializer.kt"/>
+ </issue>
+
+</issues>
diff --git a/wear/compose/compose-material/lint-baseline.xml b/wear/compose/compose-material/lint-baseline.xml
index 3ebc76a..c490fad 100644
--- a/wear/compose/compose-material/lint-baseline.xml
+++ b/wear/compose/compose-material/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="PrimitiveInLambda"
@@ -39,7 +39,7 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Picker has parameter 'option' with type Function2<? super PickerScope, ? super Integer, Unit>."
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Picker has parameter 'option' with type Function2<? super PickerScope, ? super Integer, ? extends Unit>."
errorLine1=" option: @Composable PickerScope.(optionIndex: Int) -> Unit"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -48,7 +48,7 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Picker has parameter 'option' with type Function2<? super PickerScope, ? super Integer, Unit>."
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Picker has parameter 'option' with type Function2<? super PickerScope, ? super Integer, ? extends Unit>."
errorLine1=" option: @Composable PickerScope.(optionIndex: Int) -> Unit"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -318,7 +318,7 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Stepper has parameter 'onValueChange' with type Function1<? super Float, Unit>."
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Stepper has parameter 'onValueChange' with type Function1<? super Float, ? extends Unit>."
errorLine1=" onValueChange: (Float) -> Unit,"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -327,7 +327,7 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Stepper has parameter 'onValueChange' with type Function1<? super Integer, Unit>."
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Stepper has parameter 'onValueChange' with type Function1<? super Integer, ? extends Unit>."
errorLine1=" onValueChange: (Int) -> Unit,"
errorLine2=" ~~~~~~~~~~~~~">
<location
diff --git a/wear/compose/integration-tests/demos/lint-baseline.xml b/wear/compose/integration-tests/demos/lint-baseline.xml
index f9c7dbf..505db87 100644
--- a/wear/compose/integration-tests/demos/lint-baseline.xml
+++ b/wear/compose/integration-tests/demos/lint-baseline.xml
@@ -1,356 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="WearStandaloneAppFlag"
- message="Missing `<meta-data android:name="com.google.android.wearable.standalone" ../>` element"
- errorLine1=" <application"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/AndroidManifest.xml"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/BottomNavigationScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/ButtonScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/CheckboxScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/FloatingActionButtonScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/MaterialRippleThemeTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/MaterialRippleThemeTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/NavigationRailScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(1)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/ObservableThemeTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/RadioButtonScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/RadioButtonScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/RadioButtonScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/SwitchScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/SwitchScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/SwitchScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/TabScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor AnchoredDraggableState has parameter 'positionalThreshold' with type Function1<? super Float, Float>."
- errorLine1=" internal val positionalThreshold: (totalDistance: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Float, Float> of 'getPositionalThreshold$lint_module'."
- errorLine1=" internal val positionalThreshold: (totalDistance: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor AnchoredDraggableState has parameter 'velocityThreshold' with type Function0<Float>."
- errorLine1=" internal val velocityThreshold: () -> Float,"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function0<Float> of 'getVelocityThreshold$lint_module'."
- errorLine1=" internal val velocityThreshold: () -> Float,"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor AnchoredDraggableState has parameter 'positionalThreshold' with type Function1<? super Float, Float>."
- errorLine1=" positionalThreshold: (totalDistance: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor AnchoredDraggableState has parameter 'velocityThreshold' with type Function0<Float>."
- errorLine1=" velocityThreshold: () -> Float,"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Saver has parameter 'positionalThreshold' with type Function1<? super Float, Float>."
- errorLine1=" positionalThreshold: (distance: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Saver has parameter 'velocityThreshold' with type Function0<Float>."
- errorLine1=" velocityThreshold: () -> Float,"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'calculateBackLayerConstraints' with type Function1<? super Constraints, ? extends Constraints>."
- errorLine1=" val calculateBackLayerConstraints: (Constraints) -> Constraints = {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BackdropScaffold.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BackdropStack has parameter 'calculateBackLayerConstraints' with type Function1<? super Constraints, Constraints>."
- errorLine1=" calculateBackLayerConstraints: (Constraints) -> Constraints,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BackdropScaffold.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BackdropStack has parameter 'frontLayer' with type Function2<? super Constraints, ? super Float, Unit>."
- errorLine1=" frontLayer: @Composable @UiComposable (Constraints, Float) -> Unit"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BackdropScaffold.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BottomNavigationTransition has parameter 'content' with type Function1<? super Float, Unit>."
- errorLine1=" content: @Composable (animationProgress: Float) -> Unit"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BottomNavigation.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BottomSheet has parameter 'calculateAnchors' with type Function1<? super IntSize, ? extends DraggableAnchors<BottomSheetValue>>."
- errorLine1=" calculateAnchors: (sheetSize: IntSize) -> DraggableAnchors<BottomSheetValue>,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BottomSheetScaffoldLayout has parameter 'bottomSheet' with type Function1<? super Integer, Unit>."
- errorLine1=" bottomSheet: @Composable (layoutHeight: Int) -> Unit,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BottomSheetScaffoldLayout has parameter 'sheetOffset' with type Function0<Float>."
- errorLine1=" sheetOffset: () -> Float,"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method awaitHorizontalPointerSlopOrCancellation has parameter 'onPointerSlopReached' with type Function2<? super PointerInputChange, ? super Float, Unit>."
- errorLine1=" onPointerSlopReached: (change: PointerInputChange, overSlop: Float) -> Unit"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/DragGestureDetectorCopy.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Scrim has parameter 'fraction' with type Function0<Float>."
- errorLine1=" fraction: () -> Float,"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Drawer.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method updateHeight has parameter 'onHeightUpdate' with type Function1<? super Integer, Unit>."
- errorLine1=" onHeightUpdate: (Int) -> Unit"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/material/ExposedDropdownMenu.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method NavigationRailTransition has parameter 'content' with type Function1<? super Float, Unit>."
- errorLine1=" content: @Composable (animationProgress: Float) -> Unit"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/NavigationRail.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method OutlinedTextFieldLayout has parameter 'onLabelMeasured' with type Function1<? super Size, Unit>."
- errorLine1=" onLabelMeasured: (Size) -> Unit,"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor OutlinedTextFieldMeasurePolicy has parameter 'onLabelMeasured' with type Function1<? super Size, Unit>."
- errorLine1=" private val onLabelMeasured: (Size) -> Unit,"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method intrinsicWidth has parameter 'intrinsicMeasurer' with type Function2<? super IntrinsicMeasurable, ? super Integer, Integer>."
- errorLine1=" intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method intrinsicHeight has parameter 'intrinsicMeasurer' with type Function2<? super IntrinsicMeasurable, ? super Integer, Integer>."
- errorLine1=" intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
+<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
<issue
id="PrimitiveInLambda"
@@ -390,132 +39,6 @@
<issue
id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method pullRefresh has parameter 'onPull' with type Function1<? super Float, Float>."
- errorLine1=" onPull: (pullDelta: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/pullrefresh/PullRefresh.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method pullRefresh has parameter 'onRelease' with type Function2<? super Float, ? super Continuation<? super Float>, ? extends Object>."
- errorLine1=" onRelease: suspend (flingVelocity: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/pullrefresh/PullRefresh.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor PullRefreshNestedScrollConnection has parameter 'onPull' with type Function1<? super Float, Float>."
- errorLine1=" private val onPull: (pullDelta: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/pullrefresh/PullRefresh.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor PullRefreshNestedScrollConnection has parameter 'onRelease' with type Function2<? super Float, ? super Continuation<? super Float>, ? extends Object>."
- errorLine1=" private val onRelease: suspend (flingVelocity: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/pullrefresh/PullRefresh.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Slider has parameter 'onValueChange' with type Function1<? super Float, Unit>."
- errorLine1=" onValueChange: (Float) -> Unit,"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'scaleToUserValue' with type Function1<? super Float, ? extends Float>."
- errorLine1=" fun scaleToUserValue(offset: Float) ="
- errorLine2=" ^">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'scaleToOffset' with type Function1<? super Float, ? extends Float>."
- errorLine1=" fun scaleToOffset(userValue: Float) ="
- errorLine2=" ^">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'scaleToOffset' with type Function1<? super Float, ? extends Float>."
- errorLine1=" fun scaleToOffset(userValue: Float) ="
- errorLine2=" ^">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'postPointerSlop' with type Function2<? super PointerInputChange, ? super Float, ? extends Unit>."
- errorLine1=" val postPointerSlop = { pointerInput: PointerInputChange, offset: Float ->"
- errorLine2=" ^">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method CorrectValueSideEffect has parameter 'scaleToOffset' with type Function1<? super Float, Float>."
- errorLine1=" scaleToOffset: (Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method sliderSemantics has parameter 'onValueChange' with type Function1<? super Float, Unit>."
- errorLine1=" onValueChange: (Float) -> Unit,"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type State<Function2<Boolean, Float, Unit>> of 'getOnDrag'."
- errorLine1=" val onDrag: State<(Boolean, Float) -> Unit>,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor SliderDraggableState has parameter 'onDelta' with type Function1<? super Float, Unit>."
- errorLine1=" val onDelta: (Float) -> Unit"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Float, Unit> of 'getOnDelta'."
- errorLine1=" val onDelta: (Float) -> Unit"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method DefaultInlineSlider has parameter 'onValueChange' with type Function1<? super Float, Unit>."
errorLine1=" onValueChange: (Float) -> Unit,"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -532,85 +55,4 @@
file="src/main/java/androidx/wear/compose/integration/demos/SliderDemo.kt"/>
</issue>
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setThresholds$lint_module has parameter '<set-?>' with type Function2<? super Float, ? super Float, Float>."
- errorLine1=" internal var thresholds: (Float, Float) -> Float by mutableStateOf({ _, _ -> 0f })"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<Float, Float, Float> of 'getThresholds$lint_module'."
- errorLine1=" internal var thresholds: (Float, Float) -> Float by mutableStateOf({ _, _ -> 0f })"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method computeTarget has parameter 'thresholds' with type Function2<? super Float, ? super Float, Float>."
- errorLine1=" thresholds: (Float, Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method SwitchImpl has parameter 'thumbValue' with type Function0<Float>."
- errorLine1=" thumbValue: () -> Float,"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Switch.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method intrinsicWidth has parameter 'intrinsicMeasurer' with type Function2<? super IntrinsicMeasurable, ? super Integer, Integer>."
- errorLine1=" intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method intrinsicHeight has parameter 'intrinsicMeasurer' with type Function2<? super IntrinsicMeasurable, ? super Integer, Integer>."
- errorLine1=" intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'labelColor' with type Function1<? super InputPhase, ? extends Color>."
- errorLine1=" val labelColor: @Composable (InputPhase) -> Color = {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextFieldImpl.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Transition has parameter 'contentColor' with type Function1<? super InputPhase, Color>."
- errorLine1=" contentColor: @Composable (InputPhase) -> Color,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextFieldImpl.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Transition has parameter 'content' with type Function4<? super Float, ? super Color, ? super Color, ? super Float, Unit>."
- errorLine1=" content: @Composable ("
- errorLine2=" ^">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextFieldImpl.kt"/>
- </issue>
-
</issues>
diff --git a/wear/compose/integration-tests/macrobenchmark-target/lint-baseline.xml b/wear/compose/integration-tests/macrobenchmark-target/lint-baseline.xml
deleted file mode 100644
index fb6ce31..0000000
--- a/wear/compose/integration-tests/macrobenchmark-target/lint-baseline.xml
+++ /dev/null
@@ -1,553 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/BottomNavigationScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/ButtonScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/CheckboxScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/FloatingActionButtonScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/MaterialRippleThemeTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/MaterialRippleThemeTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/NavigationRailScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(1)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/ObservableThemeTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/RadioButtonScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/RadioButtonScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/RadioButtonScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/SwitchScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/SwitchScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/SwitchScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="BanThreadSleep"
- message="Uses Thread.sleep()"
- errorLine1=" Thread.sleep(300)"
- errorLine2=" ~~~~~">
- <location
- file="src/androidAndroidTest/kotlin/androidx/compose/material/TabScreenshotTest.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor AnchoredDraggableState has parameter 'positionalThreshold' with type Function1<? super Float, Float>."
- errorLine1=" internal val positionalThreshold: (totalDistance: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Float, Float> of 'getPositionalThreshold$lint_module'."
- errorLine1=" internal val positionalThreshold: (totalDistance: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor AnchoredDraggableState has parameter 'velocityThreshold' with type Function0<Float>."
- errorLine1=" internal val velocityThreshold: () -> Float,"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function0<Float> of 'getVelocityThreshold$lint_module'."
- errorLine1=" internal val velocityThreshold: () -> Float,"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor AnchoredDraggableState has parameter 'positionalThreshold' with type Function1<? super Float, Float>."
- errorLine1=" positionalThreshold: (totalDistance: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor AnchoredDraggableState has parameter 'velocityThreshold' with type Function0<Float>."
- errorLine1=" velocityThreshold: () -> Float,"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Saver has parameter 'positionalThreshold' with type Function1<? super Float, Float>."
- errorLine1=" positionalThreshold: (distance: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Saver has parameter 'velocityThreshold' with type Function0<Float>."
- errorLine1=" velocityThreshold: () -> Float,"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'calculateBackLayerConstraints' with type Function1<? super Constraints, ? extends Constraints>."
- errorLine1=" val calculateBackLayerConstraints: (Constraints) -> Constraints = {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BackdropScaffold.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BackdropStack has parameter 'calculateBackLayerConstraints' with type Function1<? super Constraints, Constraints>."
- errorLine1=" calculateBackLayerConstraints: (Constraints) -> Constraints,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BackdropScaffold.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BackdropStack has parameter 'frontLayer' with type Function2<? super Constraints, ? super Float, Unit>."
- errorLine1=" frontLayer: @Composable @UiComposable (Constraints, Float) -> Unit"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BackdropScaffold.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BottomNavigationTransition has parameter 'content' with type Function1<? super Float, Unit>."
- errorLine1=" content: @Composable (animationProgress: Float) -> Unit"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BottomNavigation.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BottomSheet has parameter 'calculateAnchors' with type Function1<? super IntSize, ? extends DraggableAnchors<BottomSheetValue>>."
- errorLine1=" calculateAnchors: (sheetSize: IntSize) -> DraggableAnchors<BottomSheetValue>,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BottomSheetScaffoldLayout has parameter 'bottomSheet' with type Function1<? super Integer, Unit>."
- errorLine1=" bottomSheet: @Composable (layoutHeight: Int) -> Unit,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BottomSheetScaffoldLayout has parameter 'sheetOffset' with type Function0<Float>."
- errorLine1=" sheetOffset: () -> Float,"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method awaitHorizontalPointerSlopOrCancellation has parameter 'onPointerSlopReached' with type Function2<? super PointerInputChange, ? super Float, Unit>."
- errorLine1=" onPointerSlopReached: (change: PointerInputChange, overSlop: Float) -> Unit"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/DragGestureDetectorCopy.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Scrim has parameter 'fraction' with type Function0<Float>."
- errorLine1=" fraction: () -> Float,"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Drawer.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method updateHeight has parameter 'onHeightUpdate' with type Function1<? super Integer, Unit>."
- errorLine1=" onHeightUpdate: (Int) -> Unit"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/material/ExposedDropdownMenu.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method NavigationRailTransition has parameter 'content' with type Function1<? super Float, Unit>."
- errorLine1=" content: @Composable (animationProgress: Float) -> Unit"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/NavigationRail.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method OutlinedTextFieldLayout has parameter 'onLabelMeasured' with type Function1<? super Size, Unit>."
- errorLine1=" onLabelMeasured: (Size) -> Unit,"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor OutlinedTextFieldMeasurePolicy has parameter 'onLabelMeasured' with type Function1<? super Size, Unit>."
- errorLine1=" private val onLabelMeasured: (Size) -> Unit,"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method intrinsicWidth has parameter 'intrinsicMeasurer' with type Function2<? super IntrinsicMeasurable, ? super Integer, Integer>."
- errorLine1=" intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method intrinsicHeight has parameter 'intrinsicMeasurer' with type Function2<? super IntrinsicMeasurable, ? super Integer, Integer>."
- errorLine1=" intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method pullRefresh has parameter 'onPull' with type Function1<? super Float, Float>."
- errorLine1=" onPull: (pullDelta: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/pullrefresh/PullRefresh.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method pullRefresh has parameter 'onRelease' with type Function2<? super Float, ? super Continuation<? super Float>, ? extends Object>."
- errorLine1=" onRelease: suspend (flingVelocity: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/pullrefresh/PullRefresh.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor PullRefreshNestedScrollConnection has parameter 'onPull' with type Function1<? super Float, Float>."
- errorLine1=" private val onPull: (pullDelta: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/pullrefresh/PullRefresh.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor PullRefreshNestedScrollConnection has parameter 'onRelease' with type Function2<? super Float, ? super Continuation<? super Float>, ? extends Object>."
- errorLine1=" private val onRelease: suspend (flingVelocity: Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/pullrefresh/PullRefresh.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Slider has parameter 'onValueChange' with type Function1<? super Float, Unit>."
- errorLine1=" onValueChange: (Float) -> Unit,"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'scaleToUserValue' with type Function1<? super Float, ? extends Float>."
- errorLine1=" fun scaleToUserValue(offset: Float) ="
- errorLine2=" ^">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'scaleToOffset' with type Function1<? super Float, ? extends Float>."
- errorLine1=" fun scaleToOffset(userValue: Float) ="
- errorLine2=" ^">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'scaleToOffset' with type Function1<? super Float, ? extends Float>."
- errorLine1=" fun scaleToOffset(userValue: Float) ="
- errorLine2=" ^">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'postPointerSlop' with type Function2<? super PointerInputChange, ? super Float, ? extends Unit>."
- errorLine1=" val postPointerSlop = { pointerInput: PointerInputChange, offset: Float ->"
- errorLine2=" ^">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method CorrectValueSideEffect has parameter 'scaleToOffset' with type Function1<? super Float, Float>."
- errorLine1=" scaleToOffset: (Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method sliderSemantics has parameter 'onValueChange' with type Function1<? super Float, Unit>."
- errorLine1=" onValueChange: (Float) -> Unit,"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type State<Function2<Boolean, Float, Unit>> of 'getOnDrag'."
- errorLine1=" val onDrag: State<(Boolean, Float) -> Unit>,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor SliderDraggableState has parameter 'onDelta' with type Function1<? super Float, Unit>."
- errorLine1=" val onDelta: (Float) -> Unit"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Float, Unit> of 'getOnDelta'."
- errorLine1=" val onDelta: (Float) -> Unit"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setThresholds$lint_module has parameter '<set-?>' with type Function2<? super Float, ? super Float, Float>."
- errorLine1=" internal var thresholds: (Float, Float) -> Float by mutableStateOf({ _, _ -> 0f })"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<Float, Float, Float> of 'getThresholds$lint_module'."
- errorLine1=" internal var thresholds: (Float, Float) -> Float by mutableStateOf({ _, _ -> 0f })"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method computeTarget has parameter 'thresholds' with type Function2<? super Float, ? super Float, Float>."
- errorLine1=" thresholds: (Float, Float) -> Float,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method SwitchImpl has parameter 'thumbValue' with type Function0<Float>."
- errorLine1=" thumbValue: () -> Float,"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Switch.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method intrinsicWidth has parameter 'intrinsicMeasurer' with type Function2<? super IntrinsicMeasurable, ? super Integer, Integer>."
- errorLine1=" intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method intrinsicHeight has parameter 'intrinsicMeasurer' with type Function2<? super IntrinsicMeasurable, ? super Integer, Integer>."
- errorLine1=" intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'labelColor' with type Function1<? super InputPhase, ? extends Color>."
- errorLine1=" val labelColor: @Composable (InputPhase) -> Color = {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextFieldImpl.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Transition has parameter 'contentColor' with type Function1<? super InputPhase, Color>."
- errorLine1=" contentColor: @Composable (InputPhase) -> Color,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextFieldImpl.kt"/>
- </issue>
-
- <issue
- id="PrimitiveInLambda"
- message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Transition has parameter 'content' with type Function4<? super Float, ? super Color, ? super Color, ? super Float, Unit>."
- errorLine1=" content: @Composable ("
- errorLine2=" ^">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextFieldImpl.kt"/>
- </issue>
-
-</issues>
diff --git a/wear/tiles/tiles-renderer/lint-baseline.xml b/wear/tiles/tiles-renderer/lint-baseline.xml
deleted file mode 100644
index 5498c78f..0000000
--- a/wear/tiles/tiles-renderer/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="UnspecifiedRegisterReceiverFlag"
- message="`updateReceiver` \
is missing `RECEIVER_EXPORTED` or `RECEIVER_NOT_EXPORTED` flag for unprotected \
broadcasts registered for androidx.wear.tiles.action.REQUEST_TILE_UPDATE"
- errorLine1=" context.registerReceiver(updateReceiver, i)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/tiles/manager/TileUiClient.kt"/>
- </issue>
-
-</issues>
diff --git a/wear/tiles/tiles/lint-baseline.xml b/wear/tiles/tiles/lint-baseline.xml
index 5c311b2..a00428a 100644
--- a/wear/tiles/tiles/lint-baseline.xml
+++ b/wear/tiles/tiles/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="RequireUnstableAidlAnnotation"
diff --git a/wear/watchface/watchface-complications-data-source/lint-baseline.xml b/wear/watchface/watchface-complications-data-source/lint-baseline.xml
deleted file mode 100644
index 5edf002..0000000
--- a/wear/watchface/watchface-complications-data-source/lint-baseline.xml
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="NewApi"
- message="Field requires API level 33 (current min is 26): `TargetWatchFaceSafety`"
- errorLine1=" [TargetWatchFaceSafety.UNKNOWN, TargetWatchFaceSafety.SAFE, TargetWatchFaceSafety.UNSAFE]"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/complications/datasource/ComplicationDataSourceService.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 33 (current min is 26): `TargetWatchFaceSafety`"
- errorLine1=" [TargetWatchFaceSafety.UNKNOWN, TargetWatchFaceSafety.SAFE, TargetWatchFaceSafety.UNSAFE]"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/complications/datasource/ComplicationDataSourceService.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 33 (current min is 26): `TargetWatchFaceSafety`"
- errorLine1=" [TargetWatchFaceSafety.UNKNOWN, TargetWatchFaceSafety.SAFE, TargetWatchFaceSafety.UNSAFE]"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/complications/datasource/ComplicationDataSourceService.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 33 (current min is 26): `TargetWatchFaceSafety`"
- errorLine1=" TargetWatchFaceSafety.UNKNOWN"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/complications/datasource/ComplicationDataSourceService.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 33 (current min is 26): `TargetWatchFaceSafety`"
- errorLine1=" ?: TargetWatchFaceSafety.UNKNOWN"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/complications/datasource/ComplicationDataSourceService.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 33 (current min is 26): `TargetWatchFaceSafety`"
- errorLine1=" TargetWatchFaceSafety.UNKNOWN"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/complications/datasource/ComplicationDataSourceService.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Field requires API level 33 (current min is 26): `TargetWatchFaceSafety`"
- errorLine1=" ?: TargetWatchFaceSafety.UNKNOWN"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/complications/datasource/ComplicationDataSourceService.kt"/>
- </issue>
-
-</issues>
diff --git a/wear/watchface/watchface-complications-data/lint-baseline.xml b/wear/watchface/watchface-complications-data/lint-baseline.xml
index d308d5f..d24916d 100644
--- a/wear/watchface/watchface-complications-data/lint-baseline.xml
+++ b/wear/watchface/watchface-complications-data/lint-baseline.xml
@@ -1,23 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="NewApi"
- message="Class requires API level 33 (current min is 26): `GoalProgressComplicationData`"
- errorLine1=" is GoalProgressComplicationData -> placeholder.contentDescription"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/complications/data/Data.kt"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Class requires API level 33 (current min is 26): `WeightedElementsComplicationData`"
- errorLine1=" is WeightedElementsComplicationData -> placeholder.contentDescription"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/complications/data/Data.kt"/>
- </issue>
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="RequireUnstableAidlAnnotation"
diff --git a/wear/watchface/watchface-data/lint-baseline.xml b/wear/watchface/watchface-data/lint-baseline.xml
index d02862b..c6c3733 100644
--- a/wear/watchface/watchface-data/lint-baseline.xml
+++ b/wear/watchface/watchface-data/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="RequireUnstableAidlAnnotation"
diff --git a/wear/watchface/watchface-samples-minimal-complications/lint-baseline.xml b/wear/watchface/watchface-samples-minimal-complications/lint-baseline.xml
deleted file mode 100644
index ae9a59a..0000000
--- a/wear/watchface/watchface-samples-minimal-complications/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="WearStandaloneAppFlag"
- message="Missing `<meta-data android:name="com.google.android.wearable.standalone" ../>` element"
- errorLine1=" <application"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/AndroidManifest.xml"/>
- </issue>
-
-</issues>
diff --git a/wear/watchface/watchface-samples-minimal-instances/lint-baseline.xml b/wear/watchface/watchface-samples-minimal-instances/lint-baseline.xml
deleted file mode 100644
index 667a1f6a..0000000
--- a/wear/watchface/watchface-samples-minimal-instances/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="WearStandaloneAppFlag"
- message="Missing `<meta-data android:name="com.google.android.wearable.standalone" ../>` element"
- errorLine1=" <application"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/AndroidManifest.xml"/>
- </issue>
-
-</issues>
diff --git a/wear/watchface/watchface-samples-minimal-style/lint-baseline.xml b/wear/watchface/watchface-samples-minimal-style/lint-baseline.xml
deleted file mode 100644
index 667a1f6a..0000000
--- a/wear/watchface/watchface-samples-minimal-style/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="WearStandaloneAppFlag"
- message="Missing `<meta-data android:name="com.google.android.wearable.standalone" ../>` element"
- errorLine1=" <application"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/AndroidManifest.xml"/>
- </issue>
-
-</issues>
diff --git a/wear/watchface/watchface-style/lint-baseline.xml b/wear/watchface/watchface-style/lint-baseline.xml
deleted file mode 100644
index 4e453d5..0000000
--- a/wear/watchface/watchface-style/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
-
- <issue
- id="NewApi"
- message="Class requires API level 33 (current min is 26): `LargeCustomValueUserStyleSetting`"
- errorLine1=" is UserStyleSetting.LargeCustomValueUserStyleSetting ->"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/style/CurrentUserStyleRepository.kt"/>
- </issue>
-
-</issues>
diff --git a/wear/watchface/watchface-style/old-api-test-stub/lint-baseline.xml b/wear/watchface/watchface-style/old-api-test-stub/lint-baseline.xml
index ad48d29..2fed09c 100644
--- a/wear/watchface/watchface-style/old-api-test-stub/lint-baseline.xml
+++ b/wear/watchface/watchface-style/old-api-test-stub/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="RequireUnstableAidlAnnotation"
diff --git a/wear/watchface/watchface/lint-baseline.xml b/wear/watchface/watchface/lint-baseline.xml
index 61f18b9..48b884a 100644
--- a/wear/watchface/watchface/lint-baseline.xml
+++ b/wear/watchface/watchface/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="VisibleForTests"
@@ -22,8 +22,8 @@
<issue
id="VisibleForTests"
message="This method should only be accessed from tests or within private scope"
- errorLine1=" complicationSlotsManager.watchState = watchState"
- errorLine2=" ~~~~~~~~~~">
+ errorLine1=" complicationSlotsManager.watchState = watchState"
+ errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/wear/watchface/WatchFaceService.kt"/>
</issue>
diff --git a/work/work-runtime/lint-baseline.xml b/work/work-runtime/lint-baseline.xml
index 8527d1f..592cc869 100644
--- a/work/work-runtime/lint-baseline.xml
+++ b/work/work-runtime/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="BanSynchronizedMethods"
@@ -155,33 +155,6 @@
</issue>
<issue
- id="ForegroundServiceType"
- message="To call `Service.startForeground()`, the `<service>` element of manifest file must have the `foregroundServiceType` attribute specified"
- errorLine1=" startForeground(notificationId, notification);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/work/impl/foreground/SystemForegroundService.java"/>
- </issue>
-
- <issue
- id="ForegroundServiceType"
- message="To call `Service.startForeground()`, the `<service>` element of manifest file must have the `foregroundServiceType` attribute specified"
- errorLine1=" service.startForeground(id, notification, foregroundServiceType);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/work/impl/foreground/SystemForegroundService.java"/>
- </issue>
-
- <issue
- id="ForegroundServiceType"
- message="To call `Service.startForeground()`, the `<service>` element of manifest file must have the `foregroundServiceType` attribute specified"
- errorLine1=" service.startForeground(id, notification, foregroundServiceType);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/work/impl/foreground/SystemForegroundService.java"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public final void addListener(Runnable listener, Executor executor) {"