fix duplicate call issue due to activity restart
Declare that UserCallActivity will handle UI config changes.
This will ensure the framework does not kill/create it again
if any UI config changes (like rotation/orientation)
Bug: 229335389
Test: manual test with script
Change-Id: I1667944c8e10a16739d337f2f50271895b8fd086
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d376b6a..8c3479c 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -136,6 +136,7 @@
android:permission="android.permission.CALL_PHONE"
android:excludeFromRecents="true"
android:process=":ui"
+ android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|density|fontScale|keyboard|layoutDirection|locale|navigation|smallestScreenSize|touchscreen|uiMode"
android:exported="true">
<!-- CALL action intent filters for the various ways of initiating an outgoing call. -->
<intent-filter>