Add confirmation message support for roles.

This change adds confirmation message support for roles, similar to
what we had in default apps. It also added the direct boot unaware
confirmation for dialer and SMS, and refactored dynamic behavior of
roles to implement RoleBehavior.

Bug: 110557011
Bug: 122270890
Test: manual
Change-Id: I71fdb941f59b07274578b687fdf067e34fe89b98
diff --git a/PermissionController/proguard.flags b/PermissionController/proguard.flags
index 05defe9..a2e5884 100644
--- a/PermissionController/proguard.flags
+++ b/PermissionController/proguard.flags
@@ -7,7 +7,7 @@
 }
 -dontwarn androidx.core.**
 
-# Keep classes that implements RoleAvailabilityProvider, which are used by reflection.
--keep class * implements com.android.packageinstaller.role.model.RoleAvailabilityProvider {
+# Keep classes that implements RoleBehavior, which are used by reflection.
+-keep class * implements com.android.packageinstaller.role.model.RoleBehavior {
     *;
 }