Fix bug that soft keyboard pushes action bar out of window.

This is happening on outgoing call.

Bug: 67596257
Test: manual
PiperOrigin-RevId: 187207221
Change-Id: I09e8be0dbad695a1a5afb64e08faf533d068e5c4
diff --git a/java/com/android/incallui/AndroidManifest.xml b/java/com/android/incallui/AndroidManifest.xml
index eb080bc..a45330b 100644
--- a/java/com/android/incallui/AndroidManifest.xml
+++ b/java/com/android/incallui/AndroidManifest.xml
@@ -63,7 +63,8 @@
         android:resizeableActivity="true"
         android:screenOrientation="nosensor"
         android:taskAffinity="com.android.incallui"
-        android:theme="@style/Theme.InCallScreen">
+        android:theme="@style/Theme.InCallScreen"
+        android:windowSoftInputMode="adjustResize">
     </activity>
 
     <activity
diff --git a/java/com/android/incallui/rtt/impl/res/layout/frag_rtt_chat.xml b/java/com/android/incallui/rtt/impl/res/layout/frag_rtt_chat.xml
index 5ba9f4e..ef3c1f9 100644
--- a/java/com/android/incallui/rtt/impl/res/layout/frag_rtt_chat.xml
+++ b/java/com/android/incallui/rtt/impl/res/layout/frag_rtt_chat.xml
@@ -17,8 +17,7 @@
 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:background="@color/dialer_theme_color"
-    android:fitsSystemWindows="true">
+    android:background="@color/dialer_theme_color">
 
   <include layout="@layout/rtt_banner"/>