Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?><!-- |
Adrien Béraud | ec528bb | 2016-01-14 16:52:51 -0500 | [diff] [blame] | 2 | Copyright (C) 2004-2016 Savoir-faire Linux Inc. |
Adrien Béraud | b423776 | 2016-04-07 17:05:36 -0400 | [diff] [blame] | 3 | |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 4 | Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com> |
Adrien Béraud | 7f80a00 | 2015-12-09 17:56:40 -0500 | [diff] [blame] | 5 | Adrien Beraud <adrien.beraud@savoirfairelinux.com> |
Adrien Béraud | b423776 | 2016-04-07 17:05:36 -0400 | [diff] [blame] | 6 | |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 7 | This program is free software; you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by |
Adrien Béraud | b423776 | 2016-04-07 17:05:36 -0400 | [diff] [blame] | 9 | the Free Software Foundation; either version 3 of the License, or |
| 10 | (at your option) any later version. |
| 11 | |
| 12 | This program is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | GNU General Public License for more details. |
| 16 | |
| 17 | You should have received a copy of the GNU General Public License |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 19 | --> |
| 20 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 21 | package="cx.ring" |
| 22 | android:installLocation="auto" |
Hadrien De Sousa | 51c1ac8 | 2017-06-05 18:00:05 -0400 | [diff] [blame] | 23 | android:versionCode="80" |
Hadrien De Sousa | fb1c292 | 2017-05-31 17:23:19 -0400 | [diff] [blame] | 24 | android:versionName="20170531"> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 25 | |
| 26 | <supports-screens |
| 27 | android:anyDensity="true" |
| 28 | android:largeScreens="true" |
| 29 | android:normalScreens="true" |
| 30 | android:smallScreens="true" |
| 31 | android:xlargeScreens="true" /> |
| 32 | |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.INTERNET" /> |
| 34 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
| 35 | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> |
| 36 | <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" /> |
| 37 | <uses-permission android:name="android.permission.CALL_PHONE" /> |
| 38 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 39 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| 40 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 41 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 42 | <uses-permission android:name="android.permission.READ_PROFILE" /> |
| 43 | <uses-permission android:name="android.permission.BLUETOOTH" /> |
| 44 | <uses-permission android:name="android.permission.VIBRATE" /> |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 45 | <uses-permission android:name="android.permission.READ_CALL_LOG" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 46 | <uses-permission android:name="android.permission.WRITE_CALL_LOG" /> |
| 47 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 48 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| 49 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
Adrien Béraud | fb6341f | 2016-03-07 16:18:54 -0500 | [diff] [blame] | 50 | <uses-permission android:name="android.permission.CAMERA" /> |
| 51 | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> |
Adrien Béraud | 1347b40 | 2016-10-12 16:16:04 -0400 | [diff] [blame] | 52 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 53 | |
| 54 | <uses-feature |
| 55 | android:name="android.hardware.wifi" |
| 56 | android:required="true" /> |
| 57 | <uses-feature |
| 58 | android:name="android.hardware.telephony" |
| 59 | android:required="false" /> |
| 60 | <uses-feature |
| 61 | android:name="android.hardware.microphone" |
| 62 | android:required="true" /> |
| 63 | <uses-feature |
| 64 | android:name="android.hardware.bluetooth" |
| 65 | android:required="false" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 66 | |
| 67 | <application |
Thibault Wittemberg | 5503087 | 2016-11-08 10:55:54 -0500 | [diff] [blame] | 68 | android:name=".application.RingApplication" |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 69 | android:allowBackup="true" |
| 70 | android:icon="@drawable/ic_launcher" |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 71 | android:label="@string/app_name" |
Adrien Béraud | 1347b40 | 2016-10-12 16:16:04 -0400 | [diff] [blame] | 72 | android:resizeableActivity="true" |
| 73 | android:supportsRtl="true"> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 74 | <activity |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 75 | android:name=".client.HomeActivity" |
Aline Bonnet | f6c2a40 | 2016-12-14 15:25:40 -0500 | [diff] [blame] | 76 | android:configChanges="screenSize|screenLayout|smallestScreenSize" |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 77 | android:label="@string/title_activity_sflphone_home" |
Alexandre Lision | 0b16eea | 2016-05-27 15:24:54 -0400 | [diff] [blame] | 78 | android:launchMode="singleTask" |
Adrien Béraud | 1347b40 | 2016-10-12 16:16:04 -0400 | [diff] [blame] | 79 | android:screenOrientation="fullUser" |
| 80 | android:theme="@style/AppThemeBase" |
| 81 | android:windowSoftInputMode="adjustResize"> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 82 | <intent-filter> |
| 83 | <action android:name="android.intent.action.MAIN" /> |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 84 | |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 85 | <category android:name="android.intent.category.LAUNCHER" /> |
| 86 | </intent-filter> |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 87 | <intent-filter> |
| 88 | <action android:name="android.intent.action.DIAL" /> |
| 89 | <action android:name="android.intent.action.VIEW" /> |
| 90 | |
| 91 | <category android:name="android.intent.category.DEFAULT" /> |
| 92 | <category android:name="android.intent.category.BROWSABLE" /> |
| 93 | |
| 94 | <data android:scheme="sip" /> |
| 95 | </intent-filter> |
| 96 | <intent-filter> |
| 97 | <action android:name="android.intent.action.DIAL" /> |
| 98 | <action android:name="android.intent.action.VIEW" /> |
| 99 | |
| 100 | <category android:name="android.intent.category.DEFAULT" /> |
| 101 | <category android:name="android.intent.category.BROWSABLE" /> |
| 102 | |
| 103 | <data android:scheme="tel" /> |
| 104 | </intent-filter> |
| 105 | <intent-filter> |
| 106 | <action android:name="android.intent.action.VIEW" /> |
| 107 | <action android:name="android.intent.action.DIAL" /> |
| 108 | |
| 109 | <category android:name="android.intent.category.DEFAULT" /> |
| 110 | <category android:name="android.intent.category.BROWSABLE" /> |
| 111 | |
| 112 | <data |
| 113 | android:host="ring.cx" |
| 114 | android:pathPrefix="/id/" |
| 115 | android:scheme="https" /> |
| 116 | </intent-filter> |
| 117 | <intent-filter> |
| 118 | <action android:name="android.intent.action.VIEW" /> |
| 119 | <action android:name="android.intent.action.DIAL" /> |
| 120 | |
| 121 | <category android:name="android.intent.category.DEFAULT" /> |
| 122 | <category android:name="android.intent.category.BROWSABLE" /> |
| 123 | |
| 124 | <data |
| 125 | android:host="ring.cx" |
| 126 | android:pathPrefix="/id/" |
| 127 | android:scheme="http" /> |
| 128 | </intent-filter> |
| 129 | <intent-filter> |
| 130 | <action android:name="android.intent.action.DIAL" /> |
| 131 | <action android:name="android.intent.action.VIEW" /> |
| 132 | |
| 133 | <category android:name="android.intent.category.DEFAULT" /> |
| 134 | <category android:name="android.intent.category.BROWSABLE" /> |
| 135 | |
| 136 | <data android:scheme="ring" /> |
| 137 | </intent-filter> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 138 | </activity> |
| 139 | <activity |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 140 | android:name=".client.AccountWizard" |
Aline Bonnet | df17351 | 2016-12-20 17:22:39 -0500 | [diff] [blame] | 141 | android:configChanges="screenSize|screenLayout|smallestScreenSize" |
| 142 | |
Alexandre Lision | 0b16eea | 2016-05-27 15:24:54 -0400 | [diff] [blame] | 143 | android:screenOrientation="fullUser" |
Adrien Béraud | 1347b40 | 2016-10-12 16:16:04 -0400 | [diff] [blame] | 144 | android:theme="@style/AppThemeBase"> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 145 | <meta-data |
| 146 | android:name="android.support.PARENT_ACTIVITY" |
Alexandre Lision | ecaab11 | 2017-05-13 14:49:49 -0400 | [diff] [blame] | 147 | android:value="cx.ring.account.AccountEditionActivity" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 148 | </activity> |
| 149 | <activity |
Alexandre Lision | ecaab11 | 2017-05-13 14:49:49 -0400 | [diff] [blame] | 150 | android:name=".account.AccountEditionActivity" |
Adrien Béraud | 1347b40 | 2016-10-12 16:16:04 -0400 | [diff] [blame] | 151 | android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize" |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 152 | android:label="@string/app_name" |
Alexandre Lision | 0b16eea | 2016-05-27 15:24:54 -0400 | [diff] [blame] | 153 | android:screenOrientation="fullUser" |
Adrien Béraud | 1347b40 | 2016-10-12 16:16:04 -0400 | [diff] [blame] | 154 | android:theme="@style/AppThemeBase" /> |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 155 | |
Adrien Béraud | 482cc5b | 2016-02-03 13:14:46 -0500 | [diff] [blame] | 156 | <receiver android:name=".service.OutgoingCallHandler"> |
| 157 | <intent-filter> |
| 158 | <action android:name="android.intent.action.NEW_OUTGOING_CALL" /> |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 159 | |
Adrien Béraud | 482cc5b | 2016-02-03 13:14:46 -0500 | [diff] [blame] | 160 | <category android:name="android.intent.category.DEFAULT" /> |
| 161 | </intent-filter> |
| 162 | </receiver> |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 163 | <receiver android:name=".service.BootReceiver"> |
| 164 | <intent-filter> |
| 165 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 166 | </intent-filter> |
| 167 | </receiver> |
Adrien Béraud | 482cc5b | 2016-02-03 13:14:46 -0500 | [diff] [blame] | 168 | |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 169 | <activity |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 170 | android:name=".client.CallActivity" |
Adrien Béraud | 1347b40 | 2016-10-12 16:16:04 -0400 | [diff] [blame] | 171 | android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize" |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 172 | android:label="@string/app_name" |
Alexandre Lision | 0b16eea | 2016-05-27 15:24:54 -0400 | [diff] [blame] | 173 | android:screenOrientation="fullUser" |
Adrien Béraud | fb6341f | 2016-03-07 16:18:54 -0500 | [diff] [blame] | 174 | android:theme="@style/AppTheme.ActionBar.Transparent" |
Romain Bertozzi | ad8fd84 | 2016-05-11 14:30:35 -0400 | [diff] [blame] | 175 | android:windowSoftInputMode="adjustPan|stateHidden"> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 176 | <intent-filter> |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 177 | <action android:name="android.intent.action.CALL" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 178 | |
| 179 | <category android:name="android.intent.category.DEFAULT" /> |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 180 | <category android:name="android.intent.category.BROWSABLE" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 181 | |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 182 | <data android:scheme="sip" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 183 | </intent-filter> |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 184 | <intent-filter> |
| 185 | <action android:name="android.intent.action.CALL" /> |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 186 | |
| 187 | <category android:name="android.intent.category.DEFAULT" /> |
| 188 | <category android:name="android.intent.category.BROWSABLE" /> |
| 189 | |
| 190 | <data android:scheme="tel" /> |
| 191 | </intent-filter> |
| 192 | <intent-filter> |
| 193 | <action android:name="android.intent.action.CALL" /> |
| 194 | |
| 195 | <category android:name="android.intent.category.DEFAULT" /> |
| 196 | <category android:name="android.intent.category.BROWSABLE" /> |
| 197 | |
| 198 | <data |
| 199 | android:host="ring.cx" |
| 200 | android:pathPrefix="/id/" |
| 201 | android:scheme="https" /> |
| 202 | </intent-filter> |
| 203 | <intent-filter> |
| 204 | <action android:name="android.intent.action.CALL" /> |
| 205 | |
| 206 | <category android:name="android.intent.category.DEFAULT" /> |
| 207 | <category android:name="android.intent.category.BROWSABLE" /> |
| 208 | |
| 209 | <data |
| 210 | android:host="ring.cx" |
| 211 | android:pathPrefix="/id/" |
| 212 | android:scheme="http" /> |
| 213 | </intent-filter> |
| 214 | <intent-filter> |
| 215 | <action android:name="android.intent.action.CALL" /> |
| 216 | |
| 217 | <category android:name="android.intent.category.DEFAULT" /> |
| 218 | <category android:name="android.intent.category.BROWSABLE" /> |
| 219 | |
| 220 | <data android:scheme="ring" /> |
| 221 | </intent-filter> |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 222 | <intent-filter> |
| 223 | <action android:name="android.intent.action.CALL" /> |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 224 | <action android:name="android.intent.action.DIAL" /> |
| 225 | |
| 226 | <category android:name="android.intent.category.DEFAULT" /> |
| 227 | |
| 228 | <data android:mimeType="vnd.android.cursor.item/phone" /> |
| 229 | <data android:mimeType="vnd.android.cursor.item/phone_v2" /> |
| 230 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 231 | </intent-filter> |
| 232 | </activity> |
| 233 | <activity |
| 234 | android:name=".client.ConversationActivity" |
Aline Bonnet | 9c6defe | 2016-12-21 13:21:02 -0500 | [diff] [blame] | 235 | android:configChanges="screenSize|screenLayout|smallestScreenSize" |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 236 | android:label="@string/app_name" |
| 237 | android:parentActivityName=".client.HomeActivity" |
Adrien Béraud | f79762c | 2016-08-29 18:04:33 -0400 | [diff] [blame] | 238 | android:screenOrientation="fullUser" |
Adrien Béraud | 1347b40 | 2016-10-12 16:16:04 -0400 | [diff] [blame] | 239 | android:theme="@style/AppThemeBase" |
| 240 | android:windowSoftInputMode="adjustResize" /> |
| 241 | <activity |
| 242 | android:name=".client.QRCodeScannerActivity" |
Alexandre Lision | 0b16eea | 2016-05-27 15:24:54 -0400 | [diff] [blame] | 243 | android:screenOrientation="fullUser" |
Romain Bertozzi | 2b2aa6f | 2016-04-28 11:18:57 -0400 | [diff] [blame] | 244 | android:stateNotNeeded="true" |
| 245 | android:theme="@style/zxing_CaptureTheme" |
Alexandre Lision | 3d5fdc1 | 2016-12-08 11:15:15 -0500 | [diff] [blame] | 246 | android:windowSoftInputMode="stateAlwaysHidden" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 247 | |
| 248 | <service |
Adrien Béraud | 4c6d29b | 2015-11-19 18:10:35 -0500 | [diff] [blame] | 249 | android:name=".service.DRingService" |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 250 | android:exported="false"> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 251 | <intent-filter> |
Adrien Béraud | 4c6d29b | 2015-11-19 18:10:35 -0500 | [diff] [blame] | 252 | <action android:name=".service.DRingService" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 253 | </intent-filter> |
| 254 | </service> |
| 255 | </application> |
| 256 | |
Alexandre Lision | 3c165a3 | 2017-05-10 22:09:41 -0400 | [diff] [blame] | 257 | </manifest> |