From 97860c2a0eab90ba6ec57153c044798ca85a1905 Mon Sep 17 00:00:00 2001 From: Alejandro Nijamkin Date: Fri, 4 Nov 2022 12:12:46 -0700 Subject: [PATCH] Adds a few dependencies to the shared library. We need lifecycle, coroutine, and recycler view dependencies to be able to use the shared library from Wallpaper picker. Bug: 254857639 Test: tested together with the rest of the CL chain Change-Id: I4e41a911891ff3ba30ff82163be1005ef3974be3 --- packages/SystemUI/shared/Android.bp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/SystemUI/shared/Android.bp b/packages/SystemUI/shared/Android.bp index ffaeaaadb1cf0..f8f4d4ab7ef0d 100644 --- a/packages/SystemUI/shared/Android.bp +++ b/packages/SystemUI/shared/Android.bp @@ -53,6 +53,11 @@ android_library { "androidx.dynamicanimation_dynamicanimation", "androidx.concurrent_concurrent-futures", "gson", + "androidx.lifecycle_lifecycle-runtime-ktx", + "androidx.lifecycle_lifecycle-viewmodel-ktx", + "androidx.recyclerview_recyclerview", + "kotlinx_coroutines_android", + "kotlinx_coroutines", "dagger2", "jsr330", ], @@ -64,6 +69,7 @@ android_library { }, min_sdk_version: "current", plugins: ["dagger2-compiler"], + kotlincflags: ["-Xjvm-default=enable"], } java_library {