Does AOSP support Jetpack Compose for System Applications?
If so what changes have to be done in Android.bp file?
Yes, it does. You can check the SystemUI code here and here.
The main dependencies that you'll need to add to your .bp file are:
android_library/android_app {
.........
static_libs: [
"PlatformComposeCore",
"androidx.compose.runtime_runtime",
"androidx.compose.material3_material3",
"androidx.activity_activity-compose",
]
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With