From c752af580837f2ac5b85b34679ca971b33f40e10 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 Merged-In: 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 91fd6a60d0dfc..ebc4186187bf3 100644 --- a/packages/SystemUI/shared/Android.bp +++ b/packages/SystemUI/shared/Android.bp @@ -52,6 +52,11 @@ android_library { "SystemUIUnfoldLib", "androidx.dynamicanimation_dynamicanimation", "androidx.concurrent_concurrent-futures", + "androidx.lifecycle_lifecycle-runtime-ktx", + "androidx.lifecycle_lifecycle-viewmodel-ktx", + "androidx.recyclerview_recyclerview", + "kotlinx_coroutines_android", + "kotlinx_coroutines", "gson-prebuilt-jar", "dagger2", "jsr330", @@ -64,6 +69,7 @@ android_library { }, min_sdk_version: "current", plugins: ["dagger2-compiler"], + kotlincflags: ["-Xjvm-default=enable"], } java_library {