summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dave Mankoff <mankoff@google.com> 2025-01-17 16:22:17 +0000
committer Dave Mankoff <mankoff@google.com> 2025-01-17 16:22:17 +0000
commit0198ea75483afe6c6f1e63d8ee705bb97b1879b6 (patch)
treeaabfba38070940a63c9d0180c3d20bf9f82113c5
parentabbbe6bf9bde634ac6e7dd7ee87867df04ad92c0 (diff)
Pin PermissionsController to Kotlin 1.9
PermissionsController fails to compile with Kotlin 2.0. Various fixes can be made, but I leave it to the team to decided when and how those fixes should be applied. Kotlin 2 is not the current default in Android, but we are very close. Bug: 383569207 Flag: EXEMPT unflaggable Test: built system image Change-Id: I16c7a1e0c4b157950517f18ccc83fa19d437082e
-rw-r--r--PermissionController/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/PermissionController/Android.bp b/PermissionController/Android.bp
index 21d6f4774..37a94cc61 100644
--- a/PermissionController/Android.bp
+++ b/PermissionController/Android.bp
@@ -89,6 +89,7 @@ android_library {
],
//javacflags: ["-Werror"],
+ kotlin_lang_version: "1.9",
kotlincflags: [
"-Werror",
"-opt-in=kotlinx.coroutines.DelicateCoroutinesApi",