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", ] }
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: