Combine InCallUI & Dialer (part 3)
Merge InCallUI code into Dialer.
Adds references to InCallUI code into the Android.mk file and copies
AndroidManifest.xml entries over.
bug:10605332
Change-Id: Ie889f914021fe59aaaf6ff0a4c971028f25b4cf7
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 6f37841..6f3450f 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -255,5 +255,37 @@
<service
android:name=".contact.ContactUpdateService"
android:exported="false" />
+
+ <!-- Main in-call UI activity. This is never launched directly
+ from outside the phone app; instead, it's either launched by
+ the OutgoingCallBroadcaster (for outgoing calls), or as the
+ fullScreenIntent of a notification (for incoming calls.) -->
+ <activity android:name="com.android.incallui.InCallActivity"
+ android:theme="@style/Theme.InCallScreen"
+ android:label="@string/inCallLabel"
+ android:excludeFromRecents="true"
+ android:launchMode="singleInstance"
+ android:screenOrientation="nosensor"
+ android:configChanges="keyboardHidden"
+ android:exported="false"
+ android:process="com.android.incallui">
+ </activity>
+
+ <service android:name="com.android.incallui.CallHandlerService"
+ android:process="com.android.incallui">
+ <intent-filter>
+ <action android:name="com.android.services.telephony.common.ICallHandlerService" />
+ </intent-filter>
+ </service>
+
+ <!-- BroadcastReceiver for receiving Intents from Notification mechanism. -->
+ <receiver android:name="com.android.incallui.InCallApp$NotificationBroadcastReceiver"
+ android:exported="false"
+ android:process="com.android.incallui">
+ <intent-filter>
+ <action android:name="com.android.incallui.ACTION_HANG_UP_ONGOING_CALL" />
+ </intent-filter>
+ </receiver>
+
</application>
</manifest>