Santos Cordon | b415e4d | 2013-07-12 14:17:55 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2013 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Santos Cordon | b415e4d | 2013-07-12 14:17:55 -0700 | [diff] [blame] | 18 | package="com.android.incallui" |
| 19 | coreApp="true" > |
| 20 | |
| 21 | <original-package android:name="com.android.incallui" /> |
| 22 | |
Yorke Lee | be8060a | 2013-08-07 13:49:32 -0700 | [diff] [blame] | 23 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.VIBRATE"/> |
Chiao Cheng | 033ed59 | 2013-08-16 15:45:35 -0700 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.INTERNET" /> |
Santos Cordon | e7a567e | 2013-08-20 15:07:51 -0700 | [diff] [blame^] | 26 | <uses-permission android:name="android.permission.WAKE_LOCK"/> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 27 | |
Santos Cordon | b415e4d | 2013-07-12 14:17:55 -0700 | [diff] [blame] | 28 | <application |
Santos Cordon | 7030437 | 2013-08-09 13:21:47 -0700 | [diff] [blame] | 29 | android:name="InCallApp" |
Santos Cordon | b415e4d | 2013-07-12 14:17:55 -0700 | [diff] [blame] | 30 | android:label="@string/inCallLabel" |
| 31 | android:supportsRtl="true"> |
| 32 | |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 33 | <!-- Main in-call UI activity. This is never launched directly |
| 34 | from outside the phone app; instead, it's either launched by |
| 35 | the OutgoingCallBroadcaster (for outgoing calls), or as the |
| 36 | fullScreenIntent of a notification (for incoming calls.) --> |
| 37 | <activity android:name=".InCallActivity" |
| 38 | android:theme="@style/Theme.InCallScreen" |
| 39 | android:label="@string/inCallLabel" |
| 40 | android:excludeFromRecents="true" |
| 41 | android:launchMode="singleInstance" |
| 42 | android:screenOrientation="nosensor" |
| 43 | android:configChanges="keyboardHidden" |
| 44 | android:exported="false"> |
| 45 | </activity> |
| 46 | |
Santos Cordon | 66b2c28 | 2013-07-19 17:14:06 -0700 | [diff] [blame] | 47 | <service android:name="CallHandlerService"> |
Santos Cordon | b415e4d | 2013-07-12 14:17:55 -0700 | [diff] [blame] | 48 | <intent-filter> |
Santos Cordon | 66b2c28 | 2013-07-19 17:14:06 -0700 | [diff] [blame] | 49 | <action android:name="com.android.services.telephony.common.ICallHandlerService" /> |
Santos Cordon | b415e4d | 2013-07-12 14:17:55 -0700 | [diff] [blame] | 50 | </intent-filter> |
| 51 | </service> |
| 52 | |
Santos Cordon | 7030437 | 2013-08-09 13:21:47 -0700 | [diff] [blame] | 53 | <!-- BroadcastReceiver for receiving Intents from Notification mechanism. --> |
| 54 | <receiver android:name="InCallApp$NotificationBroadcastReceiver" exported="false"> |
| 55 | <intent-filter> |
| 56 | <action android:name="com.android.incallui.ACTION_HANG_UP_ONGOING_CALL" /> |
| 57 | </intent-filter> |
| 58 | </receiver> |
| 59 | |
Santos Cordon | b415e4d | 2013-07-12 14:17:55 -0700 | [diff] [blame] | 60 | </application> |
| 61 | </manifest> |