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" |
Adrien Beraud | 4126c7f | 2017-08-03 11:44:56 -0400 | [diff] [blame] | 23 | android:versionCode="89" |
| 24 | android:versionName="20170803"> |
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" |
Alexandre Lision | fed74d7 | 2017-08-09 10:59:40 -0400 | [diff] [blame] | 62 | android:required="false" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 63 | <uses-feature |
| 64 | android:name="android.hardware.bluetooth" |
| 65 | android:required="false" /> |
Alexandre Lision | fed74d7 | 2017-08-09 10:59:40 -0400 | [diff] [blame] | 66 | <uses-feature |
| 67 | android:name="android.software.leanback" |
| 68 | android:required="false" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 69 | |
| 70 | <application |
Alexandre Lision | 5da46fa | 2017-08-09 10:25:50 -0400 | [diff] [blame] | 71 | android:name=".application.RingApplication" |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 72 | android:allowBackup="true" |
| 73 | android:icon="@drawable/ic_launcher" |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 74 | android:label="@string/app_name" |
Adrien Béraud | 1347b40 | 2016-10-12 16:16:04 -0400 | [diff] [blame] | 75 | android:resizeableActivity="true" |
| 76 | android:supportsRtl="true"> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 77 | <activity |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 78 | android:name=".client.HomeActivity" |
Aline Bonnet | f6c2a40 | 2016-12-14 15:25:40 -0500 | [diff] [blame] | 79 | android:configChanges="screenSize|screenLayout|smallestScreenSize" |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 80 | android:label="@string/title_activity_sflphone_home" |
Alexandre Lision | 0b16eea | 2016-05-27 15:24:54 -0400 | [diff] [blame] | 81 | android:launchMode="singleTask" |
Adrien Béraud | 1347b40 | 2016-10-12 16:16:04 -0400 | [diff] [blame] | 82 | android:screenOrientation="fullUser" |
| 83 | android:theme="@style/AppThemeBase" |
| 84 | android:windowSoftInputMode="adjustResize"> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 85 | <intent-filter> |
| 86 | <action android:name="android.intent.action.MAIN" /> |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 87 | |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 88 | <category android:name="android.intent.category.LAUNCHER" /> |
| 89 | </intent-filter> |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 90 | <intent-filter> |
| 91 | <action android:name="android.intent.action.DIAL" /> |
| 92 | <action android:name="android.intent.action.VIEW" /> |
| 93 | |
| 94 | <category android:name="android.intent.category.DEFAULT" /> |
| 95 | <category android:name="android.intent.category.BROWSABLE" /> |
| 96 | |
| 97 | <data android:scheme="sip" /> |
| 98 | </intent-filter> |
| 99 | <intent-filter> |
| 100 | <action android:name="android.intent.action.DIAL" /> |
| 101 | <action android:name="android.intent.action.VIEW" /> |
| 102 | |
| 103 | <category android:name="android.intent.category.DEFAULT" /> |
| 104 | <category android:name="android.intent.category.BROWSABLE" /> |
| 105 | |
| 106 | <data android:scheme="tel" /> |
| 107 | </intent-filter> |
| 108 | <intent-filter> |
| 109 | <action android:name="android.intent.action.VIEW" /> |
| 110 | <action android:name="android.intent.action.DIAL" /> |
| 111 | |
| 112 | <category android:name="android.intent.category.DEFAULT" /> |
| 113 | <category android:name="android.intent.category.BROWSABLE" /> |
| 114 | |
| 115 | <data |
| 116 | android:host="ring.cx" |
| 117 | android:pathPrefix="/id/" |
| 118 | android:scheme="https" /> |
| 119 | </intent-filter> |
| 120 | <intent-filter> |
| 121 | <action android:name="android.intent.action.VIEW" /> |
| 122 | <action android:name="android.intent.action.DIAL" /> |
| 123 | |
| 124 | <category android:name="android.intent.category.DEFAULT" /> |
| 125 | <category android:name="android.intent.category.BROWSABLE" /> |
| 126 | |
| 127 | <data |
| 128 | android:host="ring.cx" |
| 129 | android:pathPrefix="/id/" |
| 130 | android:scheme="http" /> |
| 131 | </intent-filter> |
| 132 | <intent-filter> |
| 133 | <action android:name="android.intent.action.DIAL" /> |
| 134 | <action android:name="android.intent.action.VIEW" /> |
| 135 | |
| 136 | <category android:name="android.intent.category.DEFAULT" /> |
| 137 | <category android:name="android.intent.category.BROWSABLE" /> |
| 138 | |
| 139 | <data android:scheme="ring" /> |
| 140 | </intent-filter> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 141 | </activity> |
| 142 | <activity |
Loïc Siret | 2fd8d6c | 2017-08-04 11:15:52 -0400 | [diff] [blame] | 143 | android:name=".account.AccountWizard" |
Aline Bonnet | df17351 | 2016-12-20 17:22:39 -0500 | [diff] [blame] | 144 | android:configChanges="screenSize|screenLayout|smallestScreenSize" |
| 145 | |
Alexandre Lision | 0b16eea | 2016-05-27 15:24:54 -0400 | [diff] [blame] | 146 | android:screenOrientation="fullUser" |
Adrien Béraud | 1347b40 | 2016-10-12 16:16:04 -0400 | [diff] [blame] | 147 | android:theme="@style/AppThemeBase"> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 148 | <meta-data |
| 149 | android:name="android.support.PARENT_ACTIVITY" |
Alexandre Lision | ecaab11 | 2017-05-13 14:49:49 -0400 | [diff] [blame] | 150 | android:value="cx.ring.account.AccountEditionActivity" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 151 | </activity> |
| 152 | <activity |
Alexandre Lision | ecaab11 | 2017-05-13 14:49:49 -0400 | [diff] [blame] | 153 | android:name=".account.AccountEditionActivity" |
Adrien Béraud | 1347b40 | 2016-10-12 16:16:04 -0400 | [diff] [blame] | 154 | android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize" |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 155 | android:label="@string/app_name" |
Alexandre Lision | 0b16eea | 2016-05-27 15:24:54 -0400 | [diff] [blame] | 156 | android:screenOrientation="fullUser" |
Adrien Béraud | 1347b40 | 2016-10-12 16:16:04 -0400 | [diff] [blame] | 157 | android:theme="@style/AppThemeBase" /> |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 158 | |
Adrien Béraud | 482cc5b | 2016-02-03 13:14:46 -0500 | [diff] [blame] | 159 | <receiver android:name=".service.OutgoingCallHandler"> |
| 160 | <intent-filter> |
| 161 | <action android:name="android.intent.action.NEW_OUTGOING_CALL" /> |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 162 | |
Adrien Béraud | 482cc5b | 2016-02-03 13:14:46 -0500 | [diff] [blame] | 163 | <category android:name="android.intent.category.DEFAULT" /> |
| 164 | </intent-filter> |
| 165 | </receiver> |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 166 | <receiver android:name=".service.BootReceiver"> |
| 167 | <intent-filter> |
| 168 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 169 | </intent-filter> |
| 170 | </receiver> |
Adrien Béraud | 482cc5b | 2016-02-03 13:14:46 -0500 | [diff] [blame] | 171 | |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 172 | <activity |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 173 | android:name=".client.CallActivity" |
Adrien Béraud | 1347b40 | 2016-10-12 16:16:04 -0400 | [diff] [blame] | 174 | android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize" |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 175 | android:label="@string/app_name" |
Alexandre Lision | 0b16eea | 2016-05-27 15:24:54 -0400 | [diff] [blame] | 176 | android:screenOrientation="fullUser" |
Adrien Béraud | fb6341f | 2016-03-07 16:18:54 -0500 | [diff] [blame] | 177 | android:theme="@style/AppTheme.ActionBar.Transparent" |
Romain Bertozzi | ad8fd84 | 2016-05-11 14:30:35 -0400 | [diff] [blame] | 178 | android:windowSoftInputMode="adjustPan|stateHidden"> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 179 | <intent-filter> |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 180 | <action android:name="android.intent.action.CALL" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 181 | |
| 182 | <category android:name="android.intent.category.DEFAULT" /> |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 183 | <category android:name="android.intent.category.BROWSABLE" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 184 | |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 185 | <data android:scheme="sip" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 186 | </intent-filter> |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 187 | <intent-filter> |
| 188 | <action android:name="android.intent.action.CALL" /> |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 189 | |
| 190 | <category android:name="android.intent.category.DEFAULT" /> |
| 191 | <category android:name="android.intent.category.BROWSABLE" /> |
| 192 | |
| 193 | <data android:scheme="tel" /> |
| 194 | </intent-filter> |
| 195 | <intent-filter> |
| 196 | <action android:name="android.intent.action.CALL" /> |
| 197 | |
| 198 | <category android:name="android.intent.category.DEFAULT" /> |
| 199 | <category android:name="android.intent.category.BROWSABLE" /> |
| 200 | |
| 201 | <data |
| 202 | android:host="ring.cx" |
| 203 | android:pathPrefix="/id/" |
| 204 | android:scheme="https" /> |
| 205 | </intent-filter> |
| 206 | <intent-filter> |
| 207 | <action android:name="android.intent.action.CALL" /> |
| 208 | |
| 209 | <category android:name="android.intent.category.DEFAULT" /> |
| 210 | <category android:name="android.intent.category.BROWSABLE" /> |
| 211 | |
| 212 | <data |
| 213 | android:host="ring.cx" |
| 214 | android:pathPrefix="/id/" |
| 215 | android:scheme="http" /> |
| 216 | </intent-filter> |
| 217 | <intent-filter> |
| 218 | <action android:name="android.intent.action.CALL" /> |
| 219 | |
| 220 | <category android:name="android.intent.category.DEFAULT" /> |
| 221 | <category android:name="android.intent.category.BROWSABLE" /> |
| 222 | |
| 223 | <data android:scheme="ring" /> |
| 224 | </intent-filter> |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 225 | <intent-filter> |
| 226 | <action android:name="android.intent.action.CALL" /> |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 227 | <action android:name="android.intent.action.DIAL" /> |
| 228 | |
| 229 | <category android:name="android.intent.category.DEFAULT" /> |
| 230 | |
| 231 | <data android:mimeType="vnd.android.cursor.item/phone" /> |
| 232 | <data android:mimeType="vnd.android.cursor.item/phone_v2" /> |
| 233 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 234 | </intent-filter> |
| 235 | </activity> |
| 236 | <activity |
| 237 | android:name=".client.ConversationActivity" |
Aline Bonnet | 9c6defe | 2016-12-21 13:21:02 -0500 | [diff] [blame] | 238 | android:configChanges="screenSize|screenLayout|smallestScreenSize" |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 239 | android:label="@string/app_name" |
| 240 | android:parentActivityName=".client.HomeActivity" |
Adrien Béraud | f79762c | 2016-08-29 18:04:33 -0400 | [diff] [blame] | 241 | android:screenOrientation="fullUser" |
Adrien Béraud | 1347b40 | 2016-10-12 16:16:04 -0400 | [diff] [blame] | 242 | android:theme="@style/AppThemeBase" |
| 243 | android:windowSoftInputMode="adjustResize" /> |
| 244 | <activity |
| 245 | android:name=".client.QRCodeScannerActivity" |
Alexandre Lision | 0b16eea | 2016-05-27 15:24:54 -0400 | [diff] [blame] | 246 | android:screenOrientation="fullUser" |
Romain Bertozzi | 2b2aa6f | 2016-04-28 11:18:57 -0400 | [diff] [blame] | 247 | android:stateNotNeeded="true" |
| 248 | android:theme="@style/zxing_CaptureTheme" |
Alexandre Lision | 3d5fdc1 | 2016-12-08 11:15:15 -0500 | [diff] [blame] | 249 | android:windowSoftInputMode="stateAlwaysHidden" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 250 | |
| 251 | <service |
Adrien Béraud | 4c6d29b | 2015-11-19 18:10:35 -0500 | [diff] [blame] | 252 | android:name=".service.DRingService" |
Adrien Béraud | 1f3a3ab | 2016-02-18 12:34:23 -0500 | [diff] [blame] | 253 | android:exported="false"> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 254 | <intent-filter> |
Adrien Béraud | 4c6d29b | 2015-11-19 18:10:35 -0500 | [diff] [blame] | 255 | <action android:name=".service.DRingService" /> |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 256 | </intent-filter> |
| 257 | </service> |
Alexandre Lision | fed74d7 | 2017-08-09 10:59:40 -0400 | [diff] [blame] | 258 | |
| 259 | <!-- AndroidTV section --> |
| 260 | <activity |
Alexandre Lision | 689b7ad | 2017-08-10 17:37:19 -0400 | [diff] [blame] | 261 | android:name="cx.ring.tv.main.HomeActivity" |
Alexandre Lision | fed74d7 | 2017-08-09 10:59:40 -0400 | [diff] [blame] | 262 | android:banner="@drawable/banner" |
| 263 | android:icon="@drawable/ic_launcher" |
| 264 | android:label="@string/title_activity_sflphone_home" |
| 265 | android:logo="@drawable/ic_launcher" |
| 266 | android:theme="@style/Theme.Leanback" |
| 267 | android:screenOrientation="landscape"> |
| 268 | <intent-filter> |
| 269 | <action android:name="android.intent.action.MAIN" /> |
| 270 | <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> |
| 271 | </intent-filter> |
| 272 | </activity> |
| 273 | |
Loïc Siret | 2fd8d6c | 2017-08-04 11:15:52 -0400 | [diff] [blame] | 274 | |
Alexandre Lision | fed74d7 | 2017-08-09 10:59:40 -0400 | [diff] [blame] | 275 | <activity |
Loïc Siret | 2fd8d6c | 2017-08-04 11:15:52 -0400 | [diff] [blame] | 276 | android:name=".tv.account.TVAccountWizard" |
Alexandre Lision | fed74d7 | 2017-08-09 10:59:40 -0400 | [diff] [blame] | 277 | android:configChanges="screenSize|screenLayout|smallestScreenSize" |
| 278 | |
| 279 | android:screenOrientation="fullUser" |
| 280 | android:theme="@style/AppThemeBase" /> |
| 281 | |
| 282 | <activity android:name="cx.ring.tv.search.SearchActivity" |
| 283 | android:theme="@style/Theme.Leanback"/> |
| 284 | |
| 285 | <activity |
| 286 | android:name="cx.ring.tv.call.TVCallActivity" |
| 287 | android:theme="@style/AppThemeBase"> |
| 288 | <intent-filter> |
| 289 | <action android:name="cx.ring.action.CALL" /> |
| 290 | <category android:name="android.intent.category.DEFAULT" /> |
| 291 | </intent-filter> |
| 292 | </activity> |
| 293 | |
Adrien Béraud | 04d822c | 2015-04-02 17:44:36 -0400 | [diff] [blame] | 294 | </application> |
| 295 | |
Alexandre Lision | 3c165a3 | 2017-05-10 22:09:41 -0400 | [diff] [blame] | 296 | </manifest> |