1. Move entry and ProviderInfo to shared.
2. renaming BaseEntry as open class to EntryInfo as Sealed class.
3. resolved smart cast issue introduced by splitting module: http://shortn/_OwZQl2mAo4

BUG: 313497665
Test: Manual with DeveloperTestApp.
Change-Id: I54be7effe26e7265ff853d086f3f24d450cc7e71
diff --git a/packages/CredentialManager/Android.bp b/packages/CredentialManager/Android.bp
index fe26dc3..991fe41 100644
--- a/packages/CredentialManager/Android.bp
+++ b/packages/CredentialManager/Android.bp
@@ -16,10 +16,12 @@
 
     dex_preopt: {
         profile_guided: true,
+        //TODO: b/312357299 - Update baseline profile
         profile: "profile.txt.prof",
     },
 
     static_libs: [
+        "CredentialManagerShared",
         "PlatformComposeCore",
         "androidx.activity_activity-compose",
         "androidx.appcompat_appcompat",