blob: f3057b867aa11714fd3bc6f0fbf0b9a0fe7bf045 [file] [log] [blame]
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -05001<?xml version="1.0" encoding="utf-8"?><!--
Adrien Béraudec528bb2016-01-14 16:52:51 -05002Copyright (C) 2004-2016 Savoir-faire Linux Inc.
Adrien Béraudb4237762016-04-07 17:05:36 -04003
Adrien Béraud04d822c2015-04-02 17:44:36 -04004Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
Adrien Béraud7f80a002015-12-09 17:56:40 -05005 Adrien Beraud <adrien.beraud@savoirfairelinux.com>
Adrien Béraudb4237762016-04-07 17:05:36 -04006
Adrien Béraud04d822c2015-04-02 17:44:36 -04007This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
Adrien Béraudb4237762016-04-07 17:05:36 -04009the Free Software Foundation; either version 3 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -050018along with this program. If not, see <http://www.gnu.org/licenses/>.
Adrien Béraud04d822c2015-04-02 17:44:36 -040019-->
20<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Pierre Duchemin7e08de92018-02-05 10:15:45 -050021 xmlns:tools="http://schemas.android.com/tools"
Adrien Béraud04d822c2015-04-02 17:44:36 -040022 package="cx.ring"
23 android:installLocation="auto"
Pierre Duchemina1cd3362018-02-20 14:12:33 -050024 android:versionCode="107"
25 android:versionName="20180223">
Adrien Béraud04d822c2015-04-02 17:44:36 -040026
27 <supports-screens
28 android:anyDensity="true"
29 android:largeScreens="true"
30 android:normalScreens="true"
31 android:smallScreens="true"
32 android:xlargeScreens="true" />
33
Adrien Béraud04d822c2015-04-02 17:44:36 -040034 <uses-permission android:name="android.permission.INTERNET" />
35 <uses-permission android:name="android.permission.RECORD_AUDIO" />
36 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
37 <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
38 <uses-permission android:name="android.permission.CALL_PHONE" />
39 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Adrien Béraud04d822c2015-04-02 17:44:36 -040040 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
41 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
42 <uses-permission android:name="android.permission.READ_CONTACTS" />
43 <uses-permission android:name="android.permission.READ_PROFILE" />
44 <uses-permission android:name="android.permission.BLUETOOTH" />
45 <uses-permission android:name="android.permission.VIBRATE" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -050046 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Adrien Béraud04d822c2015-04-02 17:44:36 -040047 <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
48 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Adrien Béraud04d822c2015-04-02 17:44:36 -040049 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
50 <uses-permission android:name="android.permission.WAKE_LOCK" />
Adrien Béraudfb6341f2016-03-07 16:18:54 -050051 <uses-permission android:name="android.permission.CAMERA" />
52 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
Adrien Béraud1347b402016-10-12 16:16:04 -040053 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Adrien Béraud04d822c2015-04-02 17:44:36 -040054
55 <uses-feature
56 android:name="android.hardware.wifi"
57 android:required="true" />
58 <uses-feature
59 android:name="android.hardware.telephony"
60 android:required="false" />
61 <uses-feature
62 android:name="android.hardware.microphone"
Alexandre Lisionfed74d72017-08-09 10:59:40 -040063 android:required="false" />
Adrien Béraud04d822c2015-04-02 17:44:36 -040064 <uses-feature
65 android:name="android.hardware.bluetooth"
66 android:required="false" />
Alexandre Lisionfed74d72017-08-09 10:59:40 -040067 <uses-feature
68 android:name="android.software.leanback"
69 android:required="false" />
Loïc Sireta941dd72017-08-31 16:44:24 -040070 <uses-feature
Adrien Béraudbcbcb5b2017-11-26 13:49:56 +010071 android:name="android.hardware.camera"
Hadrien De Sousa900b3772018-01-03 15:41:03 -050072 android:required="false" />
Adrien Béraudbcbcb5b2017-11-26 13:49:56 +010073 <uses-feature
Loïc Sireta941dd72017-08-31 16:44:24 -040074 android:name="android.hardware.touchscreen"
Hadrien De Sousa900b3772018-01-03 15:41:03 -050075 android:required="false" />
76 <uses-feature
77 android:name="android.hardware.usb.host"
78 android:required="false" />
Adrien Béraud04d822c2015-04-02 17:44:36 -040079
80 <application
Loïc Siret066901a2017-08-14 16:10:07 -040081 android:allowBackup="false"
Adrien Béraud04d822c2015-04-02 17:44:36 -040082 android:icon="@drawable/ic_launcher"
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -050083 android:label="@string/app_name"
Adrien Béraud1347b402016-10-12 16:16:04 -040084 android:resizeableActivity="true"
Pierre Duchemin7e08de92018-02-05 10:15:45 -050085 android:supportsRtl="true"
86 tools:ignore="UnusedAttribute">
Hadrien De Sousa4f1f25b2017-06-05 16:50:15 -040087
Adrien Béraud0e0feef2018-02-13 16:32:06 +010088 <meta-data
89 android:name="firebase_analytics_collection_deactivated"
90 android:value="true" />
91 <meta-data
92 android:name="google_analytics_adid_collection_enabled"
93 android:value="false" />
94
Hadrien De Sousa4f1f25b2017-06-05 16:50:15 -040095 <activity
96 android:name=".launch.LaunchActivity"
97 android:configChanges="screenSize|screenLayout|smallestScreenSize"
98
99 android:screenOrientation="fullUser"
100 android:theme="@style/AppThemeBase">
101 <intent-filter>
102 <action android:name="android.intent.action.MAIN" />
103
104 <category android:name="android.intent.category.LAUNCHER" />
105 </intent-filter>
106 </activity>
107
Adrien Béraud04d822c2015-04-02 17:44:36 -0400108 <activity
Adrien Béraudb179bab2015-10-08 12:04:22 -0400109 android:name=".client.HomeActivity"
Aline Bonnetf6c2a402016-12-14 15:25:40 -0500110 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Adrien Béraud04d822c2015-04-02 17:44:36 -0400111 android:label="@string/title_activity_sflphone_home"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400112 android:launchMode="singleTask"
Adrien Béraud1347b402016-10-12 16:16:04 -0400113 android:screenOrientation="fullUser"
114 android:theme="@style/AppThemeBase"
115 android:windowSoftInputMode="adjustResize">
Adrien Béraud04d822c2015-04-02 17:44:36 -0400116 <intent-filter>
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500117 <action android:name="android.intent.action.DIAL" />
118 <action android:name="android.intent.action.VIEW" />
119
120 <category android:name="android.intent.category.DEFAULT" />
121 <category android:name="android.intent.category.BROWSABLE" />
122
123 <data android:scheme="sip" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500124 <data android:scheme="tel" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500125 <data
126 android:host="ring.cx"
127 android:pathPrefix="/id/"
128 android:scheme="https" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500129 <data
130 android:host="ring.cx"
131 android:pathPrefix="/id/"
132 android:scheme="http" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500133 <data android:scheme="ring" />
134 </intent-filter>
Adrien Béraud04d822c2015-04-02 17:44:36 -0400135 </activity>
136 <activity
Pierre Ducheminbb3cd7c2018-02-06 15:35:08 -0500137 android:name=".account.AccountWizardActivity"
Aline Bonnetdf173512016-12-20 17:22:39 -0500138 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400139 android:screenOrientation="fullUser"
Pierre Duchemin8b715f82018-01-09 11:53:40 -0500140 android:theme="@style/AppThemeBase" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400141 <activity
Alexandre Lisionecaab112017-05-13 14:49:49 -0400142 android:name=".account.AccountEditionActivity"
Adrien Béraud1347b402016-10-12 16:16:04 -0400143 android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
Adrien Béraud04d822c2015-04-02 17:44:36 -0400144 android:label="@string/app_name"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400145 android:screenOrientation="fullUser"
Adrien Béraud1347b402016-10-12 16:16:04 -0400146 android:theme="@style/AppThemeBase" />
Adrien Béraudb179bab2015-10-08 12:04:22 -0400147
Adrien Béraud482cc5b2016-02-03 13:14:46 -0500148 <receiver android:name=".service.OutgoingCallHandler">
149 <intent-filter>
150 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500151
Adrien Béraud482cc5b2016-02-03 13:14:46 -0500152 <category android:name="android.intent.category.DEFAULT" />
153 </intent-filter>
154 </receiver>
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500155 <receiver android:name=".service.BootReceiver">
156 <intent-filter>
157 <action android:name="android.intent.action.BOOT_COMPLETED" />
158 </intent-filter>
159 </receiver>
Adrien Béraud482cc5b2016-02-03 13:14:46 -0500160
Adrien Béraud04d822c2015-04-02 17:44:36 -0400161 <activity
Adrien Béraudb179bab2015-10-08 12:04:22 -0400162 android:name=".client.CallActivity"
Adrien Béraud1347b402016-10-12 16:16:04 -0400163 android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
Adrien Béraud04d822c2015-04-02 17:44:36 -0400164 android:label="@string/app_name"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400165 android:screenOrientation="fullUser"
Adrien Béraud4bb26e02018-01-13 21:08:59 -0500166 android:showOnLockScreen="true"
Adrien Béraud79808d02018-02-20 00:16:28 +0100167 android:resizeableActivity="true"
168 android:supportsPictureInPicture="true"
Pierre Duchemin7e08de92018-02-05 10:15:45 -0500169 android:theme="@style/AppTheme.ActionBar.Transparent"
Romain Bertozziad8fd842016-05-11 14:30:35 -0400170 android:windowSoftInputMode="adjustPan|stateHidden">
Adrien Béraud04d822c2015-04-02 17:44:36 -0400171 <intent-filter>
Adrien Béraudb179bab2015-10-08 12:04:22 -0400172 <action android:name="android.intent.action.CALL" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400173
174 <category android:name="android.intent.category.DEFAULT" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500175 <category android:name="android.intent.category.BROWSABLE" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400176
Adrien Béraudb179bab2015-10-08 12:04:22 -0400177 <data android:scheme="sip" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400178 </intent-filter>
Adrien Béraudb179bab2015-10-08 12:04:22 -0400179 <intent-filter>
180 <action android:name="android.intent.action.CALL" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500181
182 <category android:name="android.intent.category.DEFAULT" />
183 <category android:name="android.intent.category.BROWSABLE" />
184
185 <data android:scheme="tel" />
186 </intent-filter>
187 <intent-filter>
188 <action android:name="android.intent.action.CALL" />
189
190 <category android:name="android.intent.category.DEFAULT" />
191 <category android:name="android.intent.category.BROWSABLE" />
192
193 <data
194 android:host="ring.cx"
195 android:pathPrefix="/id/"
196 android:scheme="https" />
197 </intent-filter>
198 <intent-filter>
199 <action android:name="android.intent.action.CALL" />
200
201 <category android:name="android.intent.category.DEFAULT" />
202 <category android:name="android.intent.category.BROWSABLE" />
203
204 <data
205 android:host="ring.cx"
206 android:pathPrefix="/id/"
207 android:scheme="http" />
208 </intent-filter>
209 <intent-filter>
210 <action android:name="android.intent.action.CALL" />
211
212 <category android:name="android.intent.category.DEFAULT" />
213 <category android:name="android.intent.category.BROWSABLE" />
214
215 <data android:scheme="ring" />
216 </intent-filter>
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500217 <intent-filter>
218 <action android:name="android.intent.action.CALL" />
Adrien Béraudb179bab2015-10-08 12:04:22 -0400219 <action android:name="android.intent.action.DIAL" />
220
221 <category android:name="android.intent.category.DEFAULT" />
222
223 <data android:mimeType="vnd.android.cursor.item/phone" />
224 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
225 <data android:mimeType="vnd.android.cursor.item/person" />
226 </intent-filter>
227 </activity>
228 <activity
229 android:name=".client.ConversationActivity"
Aline Bonnet9c6defe2016-12-21 13:21:02 -0500230 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Adrien Béraudb179bab2015-10-08 12:04:22 -0400231 android:label="@string/app_name"
232 android:parentActivityName=".client.HomeActivity"
Adrien Béraudf79762c2016-08-29 18:04:33 -0400233 android:screenOrientation="fullUser"
Adrien Béraud1347b402016-10-12 16:16:04 -0400234 android:theme="@style/AppThemeBase"
235 android:windowSoftInputMode="adjustResize" />
236 <activity
237 android:name=".client.QRCodeScannerActivity"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400238 android:screenOrientation="fullUser"
Romain Bertozzi2b2aa6f2016-04-28 11:18:57 -0400239 android:stateNotNeeded="true"
240 android:theme="@style/zxing_CaptureTheme"
Alexandre Lision3d5fdc12016-12-08 11:15:15 -0500241 android:windowSoftInputMode="stateAlwaysHidden" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400242
243 <service
Adrien Béraud4c6d29b2015-11-19 18:10:35 -0500244 android:name=".service.DRingService"
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500245 android:exported="false">
Adrien Béraud04d822c2015-04-02 17:44:36 -0400246 <intent-filter>
Adrien Béraud4c6d29b2015-11-19 18:10:35 -0500247 <action android:name=".service.DRingService" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400248 </intent-filter>
249 </service>
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400250
251 <!-- AndroidTV section -->
252 <activity
Hadrien De Sousa4f1f25b2017-06-05 16:50:15 -0400253 android:name=".tv.launch.TVLaunchActivity"
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400254 android:banner="@drawable/banner"
255 android:icon="@drawable/ic_launcher"
256 android:label="@string/title_activity_sflphone_home"
257 android:logo="@drawable/ic_launcher"
Loïc Siret5ef225d2017-08-14 11:31:16 -0400258 android:screenOrientation="landscape"
259 android:theme="@style/AppThemeBase">
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400260 <intent-filter>
261 <action android:name="android.intent.action.MAIN" />
262 <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
263 </intent-filter>
264 </activity>
Hadrien De Sousa4f1f25b2017-06-05 16:50:15 -0400265 <activity
266 android:name=".tv.main.HomeActivity"
267 android:label="@string/title_activity_sflphone_home"
Loïc Siret5ef225d2017-08-14 11:31:16 -0400268 android:screenOrientation="landscape"
269 android:theme="@style/Theme.Ring.Leanback.CustomTitle" />
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400270 <activity
Loïc Siret2fd8d6c2017-08-04 11:15:52 -0400271 android:name=".tv.account.TVAccountWizard"
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400272 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400273 android:screenOrientation="fullUser"
274 android:theme="@style/AppThemeBase" />
275
Loïc Siret5ef225d2017-08-14 11:31:16 -0400276 <activity
277 android:name="cx.ring.tv.search.SearchActivity"
278 android:theme="@style/Theme.Leanback" />
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400279
Hadrien De Sousa900b3772018-01-03 15:41:03 -0500280 <activity
281 android:name="cx.ring.tv.about.AboutActivity"
282 android:theme="@style/Theme.Leanback" />
Loïc Siret9d5aea12017-08-28 15:17:25 -0400283
Pierre Duchemin8b715f82018-01-09 11:53:40 -0500284 <activity
285 android:name="cx.ring.tv.account.TVProfileEditingActivity"
286 android:theme="@style/Theme.Leanback" />
Pierre Duchemin651e0de2017-12-18 15:00:44 -0500287
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400288 <activity
289 android:name="cx.ring.tv.call.TVCallActivity"
Adrien Béraud79808d02018-02-20 00:16:28 +0100290 android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
Adrien Béraud4bb26e02018-01-13 21:08:59 -0500291 android:showOnLockScreen="true"
Adrien Béraud79808d02018-02-20 00:16:28 +0100292 android:resizeableActivity="true"
293 android:supportsPictureInPicture="true"
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400294 android:theme="@style/AppThemeBase">
295 <intent-filter>
296 <action android:name="cx.ring.action.CALL" />
297 <category android:name="android.intent.category.DEFAULT" />
298 </intent-filter>
299 </activity>
300
Loïc Sireteaafc6b2017-09-27 11:18:54 -0400301 <activity
302 android:name="cx.ring.tv.camera.CustomCameraActivity"
303 android:theme="@style/AppThemeBase">
304 <intent-filter>
305 <action android:name="cx.ring.action.CALL" />
306 <category android:name="android.intent.category.DEFAULT" />
307 </intent-filter>
308 </activity>
Hadrien De Sousa900b3772018-01-03 15:41:03 -0500309 <activity
310 android:name=".tv.contactrequest.TVContactRequestActivity"
311 android:theme="@style/Theme.Leanback.Details" />
Pierre Duchemin8b715f82018-01-09 11:53:40 -0500312 <activity
313 android:name=".tv.account.TVSettingsActivity"
314 android:theme="@style/LeanbackPreferences" />
Loïc Sireteaafc6b2017-09-27 11:18:54 -0400315
Adrien Béraud04d822c2015-04-02 17:44:36 -0400316 </application>
317
Alexandre Lision3c165a32017-05-10 22:09:41 -0400318</manifest>