blob: 52bd97dcf349760c53e5a69ab9eec4680df5dde2 [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 Duchemina2610f02018-02-02 15:30:08 -050024 android:versionCode="103"
25 android:versionName="20180202">
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
Alexandre Lision5da46fa2017-08-09 10:25:50 -040081 android:name=".application.RingApplication"
Loïc Siret066901a2017-08-14 16:10:07 -040082 android:allowBackup="false"
Adrien Béraud04d822c2015-04-02 17:44:36 -040083 android:icon="@drawable/ic_launcher"
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -050084 android:label="@string/app_name"
Adrien Béraud1347b402016-10-12 16:16:04 -040085 android:resizeableActivity="true"
Pierre Duchemin7e08de92018-02-05 10:15:45 -050086 android:supportsRtl="true"
87 tools:ignore="UnusedAttribute">
Hadrien De Sousa4f1f25b2017-06-05 16:50:15 -040088
89 <activity
90 android:name=".launch.LaunchActivity"
91 android:configChanges="screenSize|screenLayout|smallestScreenSize"
92
93 android:screenOrientation="fullUser"
94 android:theme="@style/AppThemeBase">
95 <intent-filter>
96 <action android:name="android.intent.action.MAIN" />
97
98 <category android:name="android.intent.category.LAUNCHER" />
99 </intent-filter>
100 </activity>
101
Adrien Béraud04d822c2015-04-02 17:44:36 -0400102 <activity
Adrien Béraudb179bab2015-10-08 12:04:22 -0400103 android:name=".client.HomeActivity"
Aline Bonnetf6c2a402016-12-14 15:25:40 -0500104 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Adrien Béraud04d822c2015-04-02 17:44:36 -0400105 android:label="@string/title_activity_sflphone_home"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400106 android:launchMode="singleTask"
Adrien Béraud1347b402016-10-12 16:16:04 -0400107 android:screenOrientation="fullUser"
108 android:theme="@style/AppThemeBase"
109 android:windowSoftInputMode="adjustResize">
Adrien Béraud04d822c2015-04-02 17:44:36 -0400110 <intent-filter>
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500111 <action android:name="android.intent.action.DIAL" />
112 <action android:name="android.intent.action.VIEW" />
113
114 <category android:name="android.intent.category.DEFAULT" />
115 <category android:name="android.intent.category.BROWSABLE" />
116
117 <data android:scheme="sip" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500118 <data android:scheme="tel" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500119 <data
120 android:host="ring.cx"
121 android:pathPrefix="/id/"
122 android:scheme="https" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500123 <data
124 android:host="ring.cx"
125 android:pathPrefix="/id/"
126 android:scheme="http" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500127 <data android:scheme="ring" />
128 </intent-filter>
Adrien Béraud04d822c2015-04-02 17:44:36 -0400129 </activity>
130 <activity
Loïc Siret2fd8d6c2017-08-04 11:15:52 -0400131 android:name=".account.AccountWizard"
Aline Bonnetdf173512016-12-20 17:22:39 -0500132 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400133 android:screenOrientation="fullUser"
Pierre Duchemin8b715f82018-01-09 11:53:40 -0500134 android:theme="@style/AppThemeBase" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400135 <activity
Alexandre Lisionecaab112017-05-13 14:49:49 -0400136 android:name=".account.AccountEditionActivity"
Adrien Béraud1347b402016-10-12 16:16:04 -0400137 android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
Adrien Béraud04d822c2015-04-02 17:44:36 -0400138 android:label="@string/app_name"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400139 android:screenOrientation="fullUser"
Adrien Béraud1347b402016-10-12 16:16:04 -0400140 android:theme="@style/AppThemeBase" />
Adrien Béraudb179bab2015-10-08 12:04:22 -0400141
Adrien Béraud482cc5b2016-02-03 13:14:46 -0500142 <receiver android:name=".service.OutgoingCallHandler">
143 <intent-filter>
144 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500145
Adrien Béraud482cc5b2016-02-03 13:14:46 -0500146 <category android:name="android.intent.category.DEFAULT" />
147 </intent-filter>
148 </receiver>
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500149 <receiver android:name=".service.BootReceiver">
150 <intent-filter>
151 <action android:name="android.intent.action.BOOT_COMPLETED" />
152 </intent-filter>
153 </receiver>
Adrien Béraud482cc5b2016-02-03 13:14:46 -0500154
Adrien Béraud04d822c2015-04-02 17:44:36 -0400155 <activity
Adrien Béraudb179bab2015-10-08 12:04:22 -0400156 android:name=".client.CallActivity"
Adrien Béraud1347b402016-10-12 16:16:04 -0400157 android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
Adrien Béraud04d822c2015-04-02 17:44:36 -0400158 android:label="@string/app_name"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400159 android:screenOrientation="fullUser"
Adrien Béraud4bb26e02018-01-13 21:08:59 -0500160 android:showOnLockScreen="true"
Pierre Duchemin7e08de92018-02-05 10:15:45 -0500161 android:theme="@style/AppTheme.ActionBar.Transparent"
Romain Bertozziad8fd842016-05-11 14:30:35 -0400162 android:windowSoftInputMode="adjustPan|stateHidden">
Adrien Béraud04d822c2015-04-02 17:44:36 -0400163 <intent-filter>
Adrien Béraudb179bab2015-10-08 12:04:22 -0400164 <action android:name="android.intent.action.CALL" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400165
166 <category android:name="android.intent.category.DEFAULT" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500167 <category android:name="android.intent.category.BROWSABLE" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400168
Adrien Béraudb179bab2015-10-08 12:04:22 -0400169 <data android:scheme="sip" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400170 </intent-filter>
Adrien Béraudb179bab2015-10-08 12:04:22 -0400171 <intent-filter>
172 <action android:name="android.intent.action.CALL" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500173
174 <category android:name="android.intent.category.DEFAULT" />
175 <category android:name="android.intent.category.BROWSABLE" />
176
177 <data android:scheme="tel" />
178 </intent-filter>
179 <intent-filter>
180 <action android:name="android.intent.action.CALL" />
181
182 <category android:name="android.intent.category.DEFAULT" />
183 <category android:name="android.intent.category.BROWSABLE" />
184
185 <data
186 android:host="ring.cx"
187 android:pathPrefix="/id/"
188 android:scheme="https" />
189 </intent-filter>
190 <intent-filter>
191 <action android:name="android.intent.action.CALL" />
192
193 <category android:name="android.intent.category.DEFAULT" />
194 <category android:name="android.intent.category.BROWSABLE" />
195
196 <data
197 android:host="ring.cx"
198 android:pathPrefix="/id/"
199 android:scheme="http" />
200 </intent-filter>
201 <intent-filter>
202 <action android:name="android.intent.action.CALL" />
203
204 <category android:name="android.intent.category.DEFAULT" />
205 <category android:name="android.intent.category.BROWSABLE" />
206
207 <data android:scheme="ring" />
208 </intent-filter>
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500209 <intent-filter>
210 <action android:name="android.intent.action.CALL" />
Adrien Béraudb179bab2015-10-08 12:04:22 -0400211 <action android:name="android.intent.action.DIAL" />
212
213 <category android:name="android.intent.category.DEFAULT" />
214
215 <data android:mimeType="vnd.android.cursor.item/phone" />
216 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
217 <data android:mimeType="vnd.android.cursor.item/person" />
218 </intent-filter>
219 </activity>
220 <activity
221 android:name=".client.ConversationActivity"
Aline Bonnet9c6defe2016-12-21 13:21:02 -0500222 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Adrien Béraudb179bab2015-10-08 12:04:22 -0400223 android:label="@string/app_name"
224 android:parentActivityName=".client.HomeActivity"
Adrien Béraudf79762c2016-08-29 18:04:33 -0400225 android:screenOrientation="fullUser"
Adrien Béraud1347b402016-10-12 16:16:04 -0400226 android:theme="@style/AppThemeBase"
227 android:windowSoftInputMode="adjustResize" />
228 <activity
229 android:name=".client.QRCodeScannerActivity"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400230 android:screenOrientation="fullUser"
Romain Bertozzi2b2aa6f2016-04-28 11:18:57 -0400231 android:stateNotNeeded="true"
232 android:theme="@style/zxing_CaptureTheme"
Alexandre Lision3d5fdc12016-12-08 11:15:15 -0500233 android:windowSoftInputMode="stateAlwaysHidden" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400234
235 <service
Adrien Béraud4c6d29b2015-11-19 18:10:35 -0500236 android:name=".service.DRingService"
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500237 android:exported="false">
Adrien Béraud04d822c2015-04-02 17:44:36 -0400238 <intent-filter>
Adrien Béraud4c6d29b2015-11-19 18:10:35 -0500239 <action android:name=".service.DRingService" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400240 </intent-filter>
241 </service>
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400242
243 <!-- AndroidTV section -->
244 <activity
Hadrien De Sousa4f1f25b2017-06-05 16:50:15 -0400245 android:name=".tv.launch.TVLaunchActivity"
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400246 android:banner="@drawable/banner"
247 android:icon="@drawable/ic_launcher"
248 android:label="@string/title_activity_sflphone_home"
249 android:logo="@drawable/ic_launcher"
Loïc Siret5ef225d2017-08-14 11:31:16 -0400250 android:screenOrientation="landscape"
251 android:theme="@style/AppThemeBase">
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400252 <intent-filter>
253 <action android:name="android.intent.action.MAIN" />
254 <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
255 </intent-filter>
256 </activity>
Hadrien De Sousa4f1f25b2017-06-05 16:50:15 -0400257 <activity
258 android:name=".tv.main.HomeActivity"
259 android:label="@string/title_activity_sflphone_home"
Loïc Siret5ef225d2017-08-14 11:31:16 -0400260 android:screenOrientation="landscape"
261 android:theme="@style/Theme.Ring.Leanback.CustomTitle" />
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400262 <activity
Loïc Siret2fd8d6c2017-08-04 11:15:52 -0400263 android:name=".tv.account.TVAccountWizard"
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400264 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400265 android:screenOrientation="fullUser"
266 android:theme="@style/AppThemeBase" />
267
Loïc Siret5ef225d2017-08-14 11:31:16 -0400268 <activity
269 android:name="cx.ring.tv.search.SearchActivity"
270 android:theme="@style/Theme.Leanback" />
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400271
Hadrien De Sousa900b3772018-01-03 15:41:03 -0500272 <activity
273 android:name="cx.ring.tv.about.AboutActivity"
274 android:theme="@style/Theme.Leanback" />
Loïc Siret9d5aea12017-08-28 15:17:25 -0400275
Pierre Duchemin8b715f82018-01-09 11:53:40 -0500276 <activity
277 android:name="cx.ring.tv.account.TVProfileEditingActivity"
278 android:theme="@style/Theme.Leanback" />
Pierre Duchemin651e0de2017-12-18 15:00:44 -0500279
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400280 <activity
281 android:name="cx.ring.tv.call.TVCallActivity"
Adrien Béraud4bb26e02018-01-13 21:08:59 -0500282 android:showOnLockScreen="true"
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400283 android:theme="@style/AppThemeBase">
284 <intent-filter>
285 <action android:name="cx.ring.action.CALL" />
286 <category android:name="android.intent.category.DEFAULT" />
287 </intent-filter>
288 </activity>
289
Loïc Sireteaafc6b2017-09-27 11:18:54 -0400290 <activity
291 android:name="cx.ring.tv.camera.CustomCameraActivity"
292 android:theme="@style/AppThemeBase">
293 <intent-filter>
294 <action android:name="cx.ring.action.CALL" />
295 <category android:name="android.intent.category.DEFAULT" />
296 </intent-filter>
297 </activity>
Hadrien De Sousa900b3772018-01-03 15:41:03 -0500298 <activity
299 android:name=".tv.contactrequest.TVContactRequestActivity"
300 android:theme="@style/Theme.Leanback.Details" />
Pierre Duchemin8b715f82018-01-09 11:53:40 -0500301 <activity
302 android:name=".tv.account.TVSettingsActivity"
303 android:theme="@style/LeanbackPreferences" />
Loïc Sireteaafc6b2017-09-27 11:18:54 -0400304
Adrien Béraud0cfb6c82018-01-24 13:01:23 -0500305 <service
Pierre Duchemin7e08de92018-02-05 10:15:45 -0500306 android:name=".services.RingFirebaseMessagingService"
307 android:exported="false">
Adrien Béraud0cfb6c82018-01-24 13:01:23 -0500308 <intent-filter>
Pierre Duchemin7e08de92018-02-05 10:15:45 -0500309 <action android:name="com.google.firebase.MESSAGING_EVENT" />
Adrien Béraud0cfb6c82018-01-24 13:01:23 -0500310 </intent-filter>
311 </service>
312
313 <service
Pierre Duchemin7e08de92018-02-05 10:15:45 -0500314 android:name=".services.RingFirebaseInstanceIdService"
315 android:exported="false">
Adrien Béraud0cfb6c82018-01-24 13:01:23 -0500316 <intent-filter>
Pierre Duchemin7e08de92018-02-05 10:15:45 -0500317 <action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
Adrien Béraud0cfb6c82018-01-24 13:01:23 -0500318 </intent-filter>
319 </service>
320
321
Adrien Béraud04d822c2015-04-02 17:44:36 -0400322 </application>
323
Alexandre Lision3c165a32017-05-10 22:09:41 -0400324</manifest>