Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2006 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" |
Chiao Cheng | 107c6e0 | 2012-10-24 17:37:20 -0700 | [diff] [blame] | 18 | package="com.android.dialer"> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 19 | |
| 20 | <uses-permission android:name="android.permission.CALL_PRIVILEGED" /> |
| 21 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 22 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
| 23 | <uses-permission android:name="android.permission.READ_CALL_LOG" /> |
| 24 | <uses-permission android:name="android.permission.WRITE_CALL_LOG" /> |
| 25 | <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> |
| 26 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
| 27 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| 28 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 29 | <uses-permission android:name="android.permission.READ_PROFILE" /> |
| 30 | <uses-permission android:name="android.permission.WRITE_PROFILE" /> |
| 31 | <uses-permission android:name="android.permission.READ_SOCIAL_STREAM" /> |
| 32 | <uses-permission android:name="android.permission.INTERNET" /> |
| 33 | <uses-permission android:name="android.permission.NFC" /> |
| 34 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| 35 | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> |
| 36 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
| 37 | <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.mail" /> |
| 38 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 39 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| 40 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 41 | <uses-permission android:name="android.permission.USE_CREDENTIALS" /> |
| 42 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 43 | <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
| 44 | <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" /> |
| 45 | <uses-permission android:name="com.android.voicemail.permission.READ_WRITE_ALL_VOICEMAIL" /> |
| 46 | <uses-permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK" /> |
| 47 | <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/> |
| 48 | <!-- allow broadcasting secret code intents that reboot the phone --> |
| 49 | <uses-permission android:name="android.permission.REBOOT" /> |
| 50 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 51 | |
| 52 | <application |
| 53 | android:label="@string/applicationLabel" |
| 54 | android:icon="@mipmap/ic_launcher_contacts" |
| 55 | android:taskAffinity="android.task.contacts" |
| 56 | android:hardwareAccelerated="true" |
| 57 | > |
| 58 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 59 | <!-- The entrance point for Phone UI. |
| 60 | stateAlwaysHidden is set to suppress keyboard show up on |
| 61 | dialpad screen. --> |
| 62 | <activity android:name=".DialtactsActivity" |
| 63 | android:label="@string/launcherDialer" |
| 64 | android:theme="@style/DialtactsTheme" |
| 65 | android:uiOptions="splitActionBarWhenNarrow" |
| 66 | android:launchMode="singleTask" |
| 67 | android:clearTaskOnLaunch="true" |
| 68 | android:icon="@mipmap/ic_launcher_phone" |
| 69 | android:screenOrientation="nosensor" |
| 70 | android:enabled="@*android:bool/config_voice_capable" |
| 71 | android:taskAffinity="android.task.contacts.phone" |
| 72 | android:windowSoftInputMode="stateAlwaysHidden|adjustNothing"> |
| 73 | <intent-filter> |
| 74 | <action android:name="android.intent.action.DIAL" /> |
| 75 | <category android:name="android.intent.category.DEFAULT" /> |
| 76 | <category android:name="android.intent.category.BROWSABLE" /> |
| 77 | <data android:mimeType="vnd.android.cursor.item/phone" /> |
| 78 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 79 | </intent-filter> |
| 80 | <intent-filter> |
| 81 | <action android:name="android.intent.action.DIAL" /> |
| 82 | <category android:name="android.intent.category.DEFAULT" /> |
| 83 | <category android:name="android.intent.category.BROWSABLE" /> |
| 84 | <data android:scheme="voicemail" /> |
| 85 | </intent-filter> |
| 86 | <intent-filter> |
| 87 | <action android:name="android.intent.action.DIAL" /> |
| 88 | <category android:name="android.intent.category.DEFAULT" /> |
| 89 | </intent-filter> |
| 90 | <intent-filter> |
| 91 | <action android:name="android.intent.action.MAIN" /> |
| 92 | <category android:name="android.intent.category.DEFAULT" /> |
| 93 | <category android:name="android.intent.category.LAUNCHER" /> |
| 94 | <category android:name="android.intent.category.BROWSABLE" /> |
| 95 | </intent-filter> |
| 96 | <intent-filter> |
| 97 | <action android:name="android.intent.action.VIEW" /> |
| 98 | <action android:name="android.intent.action.DIAL" /> |
| 99 | <category android:name="android.intent.category.DEFAULT" /> |
| 100 | <category android:name="android.intent.category.BROWSABLE" /> |
| 101 | <data android:scheme="tel" /> |
| 102 | </intent-filter> |
| 103 | <intent-filter> |
| 104 | <action android:name="android.intent.action.VIEW" /> |
| 105 | <category android:name="android.intent.category.DEFAULT" /> |
| 106 | <category android:name="android.intent.category.BROWSABLE" /> |
| 107 | <data android:mimeType="vnd.android.cursor.dir/calls" /> |
| 108 | </intent-filter> |
| 109 | <intent-filter> |
| 110 | <action android:name="android.intent.action.CALL_BUTTON" /> |
| 111 | <category android:name="android.intent.category.DEFAULT" /> |
| 112 | <category android:name="android.intent.category.BROWSABLE" /> |
| 113 | </intent-filter> |
| 114 | <!-- This was never intended to be public, but is here for backward |
| 115 | compatibility. Use Intent.ACTION_DIAL instead. --> |
| 116 | <intent-filter> |
| 117 | <action android:name="com.android.phone.action.TOUCH_DIALER" /> |
| 118 | <category android:name="android.intent.category.DEFAULT" /> |
| 119 | <category android:name="android.intent.category.TAB" /> |
| 120 | </intent-filter> |
| 121 | <intent-filter android:label="@string/recentCallsIconLabel"> |
| 122 | <action android:name="com.android.phone.action.RECENT_CALLS" /> |
| 123 | <category android:name="android.intent.category.DEFAULT" /> |
| 124 | <category android:name="android.intent.category.TAB" /> |
| 125 | </intent-filter> |
| 126 | </activity> |
| 127 | |
| 128 | <activity android:name="com.android.dialer.CallDetailActivity" |
| 129 | android:label="@string/callDetailTitle" |
| 130 | android:theme="@style/CallDetailActivityTheme" |
| 131 | android:screenOrientation="portrait" |
| 132 | android:icon="@mipmap/ic_launcher_phone" |
| 133 | android:taskAffinity="android.task.contacts.phone" |
| 134 | > |
| 135 | <intent-filter> |
| 136 | <action android:name="android.intent.action.VIEW"/> |
| 137 | <category android:name="android.intent.category.DEFAULT"/> |
| 138 | <data android:mimeType="vnd.android.cursor.item/calls"/> |
| 139 | </intent-filter> |
| 140 | </activity> |
| 141 | |
| 142 | <activity android:name="com.android.contacts.common.test.FragmentTestActivity"> |
| 143 | <intent-filter> |
| 144 | <category android:name="android.intent.category.TEST"/> |
| 145 | </intent-filter> |
| 146 | </activity> |
| 147 | |
| 148 | <!-- Backwards compatibility: "Phone" from Gingerbread and earlier --> |
| 149 | <activity-alias android:name="DialtactsActivity" |
| 150 | android:targetActivity=".DialtactsActivity" |
| 151 | android:exported="true" |
| 152 | /> |
| 153 | |
| 154 | <!-- Backwards compatibility: "Call log" from Gingerbread and earlier --> |
| 155 | <activity-alias android:name="RecentCallsListActivity" |
| 156 | android:targetActivity=".DialtactsActivity" |
| 157 | android:exported="true" |
| 158 | /> |
| 159 | |
| 160 | <!-- Backwards compatibility: "Call log" from ICS --> |
| 161 | <activity-alias android:name=".activities.CallLogActivity" |
| 162 | android:targetActivity=".DialtactsActivity" |
| 163 | android:exported="true" |
| 164 | /> |
| 165 | |
| 166 | <receiver android:name=".calllog.CallLogReceiver" |
| 167 | android:enabled="@*android:bool/config_voice_capable"> |
| 168 | <intent-filter> |
| 169 | <action android:name="android.intent.action.NEW_VOICEMAIL" /> |
| 170 | <data |
| 171 | android:scheme="content" |
| 172 | android:host="com.android.voicemail" |
| 173 | android:mimeType="vnd.android.cursor.item/voicemail" |
| 174 | /> |
| 175 | </intent-filter> |
| 176 | <intent-filter android:priority="100"> |
| 177 | <action android:name="android.intent.action.BOOT_COMPLETED"/> |
| 178 | </intent-filter> |
| 179 | </receiver> |
| 180 | |
| 181 | <service |
| 182 | android:name=".calllog.CallLogNotificationsService" |
| 183 | android:exported="false" |
| 184 | /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 185 | </application> |
| 186 | </manifest> |