Opt-in K2 Lint for :health:connect:connect-client
The fix for type conversion via toLong() is in AGP 8.7.0-alpha02+
Bug: 271371556
Bug: 352609562
Test: ./gradlew :health:connect:connect-client:lint
Change-Id: Ib6283ae416e0303741bee11611853908a7cd3830
diff --git a/health/connect/connect-client/build.gradle b/health/connect/connect-client/build.gradle
index b212af5..39ed3f1 100644
--- a/health/connect/connect-client/build.gradle
+++ b/health/connect/connect-client/build.gradle
@@ -78,8 +78,6 @@
testOptions.unitTests.includeAndroidResources = true
namespace "androidx.health.connect.client"
compileSdk = 35
- // TODO(b/352609562): Typedef with `toLong()`
- experimentalProperties["android.lint.useK2Uast"] = false
}
androidx {