Migrate from material2 to material3
This completely gets rid of the material2 dependencies and only use
material3 dep instead.
ModalBottomSheet is the only component we need that is not yet available
in material3, so we keep a local copy of the material2 code backed by
material3 themes, per material3 team's suggestion.
Note that the get flow is paid very little care and will look more rough
after this change. I'll fix it when I get it functional next.
Recording of the create flow: https://drive.google.com/file/d/1i_OCgnKtYF1lAiBX03DL4guxWb24VC86/view?usp=sharing&resourcekey=0-NGXhxXkQyak9OCsFjtZbRA
Bug: 254102161
Test: local deployment
Change-Id: Ide41b450230a8ccc12790117891283b28ef75dd1
diff --git a/packages/CredentialManager/Android.bp b/packages/CredentialManager/Android.bp
index 25529bb..d8577c3 100644
--- a/packages/CredentialManager/Android.bp
+++ b/packages/CredentialManager/Android.bp
@@ -17,7 +17,11 @@
static_libs: [
"androidx.activity_activity-compose",
"androidx.appcompat_appcompat",
- "androidx.compose.material_material",
+ "androidx.compose.animation_animation-core",
+ "androidx.compose.foundation_foundation",
+ "androidx.compose.material3_material3",
+ "androidx.compose.material_material-icons-core",
+ "androidx.compose.material_material-icons-extended",
"androidx.compose.runtime_runtime",
"androidx.compose.ui_ui",
"androidx.compose.ui_ui-tooling",
@@ -27,6 +31,7 @@
"androidx.lifecycle_lifecycle-runtime-ktx",
"androidx.lifecycle_lifecycle-viewmodel-compose",
"androidx.recyclerview_recyclerview",
+ "kotlinx-coroutines-core",
],
platform_apis: true,