blob: 23a491db5f7616529e8240eaf225676548d2d708 [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"
21 package="cx.ring"
22 android:installLocation="auto"
Pierre Duchemina2610f02018-02-02 15:30:08 -050023 android:versionCode="103"
24 android:versionName="20180202">
Adrien Béraud04d822c2015-04-02 17:44:36 -040025
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éraud04d822c2015-04-02 17:44:36 -040033 <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éraud04d822c2015-04-02 17:44:36 -040039 <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éraud1f3a3ab2016-02-18 12:34:23 -050045 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Adrien Béraud04d822c2015-04-02 17:44:36 -040046 <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
47 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Adrien Béraud04d822c2015-04-02 17:44:36 -040048 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
49 <uses-permission android:name="android.permission.WAKE_LOCK" />
Adrien Béraudfb6341f2016-03-07 16:18:54 -050050 <uses-permission android:name="android.permission.CAMERA" />
51 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
Adrien Béraud1347b402016-10-12 16:16:04 -040052 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Adrien Béraud04d822c2015-04-02 17:44:36 -040053
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 Lisionfed74d72017-08-09 10:59:40 -040062 android:required="false" />
Adrien Béraud04d822c2015-04-02 17:44:36 -040063 <uses-feature
64 android:name="android.hardware.bluetooth"
65 android:required="false" />
Alexandre Lisionfed74d72017-08-09 10:59:40 -040066 <uses-feature
67 android:name="android.software.leanback"
68 android:required="false" />
Loïc Sireta941dd72017-08-31 16:44:24 -040069 <uses-feature
Adrien Béraudbcbcb5b2017-11-26 13:49:56 +010070 android:name="android.hardware.camera"
Hadrien De Sousa900b3772018-01-03 15:41:03 -050071 android:required="false" />
Adrien Béraudbcbcb5b2017-11-26 13:49:56 +010072 <uses-feature
Loïc Sireta941dd72017-08-31 16:44:24 -040073 android:name="android.hardware.touchscreen"
Hadrien De Sousa900b3772018-01-03 15:41:03 -050074 android:required="false" />
75 <uses-feature
76 android:name="android.hardware.usb.host"
77 android:required="false" />
Adrien Béraud04d822c2015-04-02 17:44:36 -040078
79 <application
Alexandre Lision5da46fa2017-08-09 10:25:50 -040080 android:name=".application.RingApplication"
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"
85 android:supportsRtl="true">
Hadrien De Sousa4f1f25b2017-06-05 16:50:15 -040086
87 <activity
88 android:name=".launch.LaunchActivity"
89 android:configChanges="screenSize|screenLayout|smallestScreenSize"
90
91 android:screenOrientation="fullUser"
92 android:theme="@style/AppThemeBase">
93 <intent-filter>
94 <action android:name="android.intent.action.MAIN" />
95
96 <category android:name="android.intent.category.LAUNCHER" />
97 </intent-filter>
98 </activity>
99
Adrien Béraud04d822c2015-04-02 17:44:36 -0400100 <activity
Adrien Béraudb179bab2015-10-08 12:04:22 -0400101 android:name=".client.HomeActivity"
Aline Bonnetf6c2a402016-12-14 15:25:40 -0500102 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Adrien Béraud04d822c2015-04-02 17:44:36 -0400103 android:label="@string/title_activity_sflphone_home"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400104 android:launchMode="singleTask"
Adrien Béraud1347b402016-10-12 16:16:04 -0400105 android:screenOrientation="fullUser"
106 android:theme="@style/AppThemeBase"
107 android:windowSoftInputMode="adjustResize">
Adrien Béraud04d822c2015-04-02 17:44:36 -0400108 <intent-filter>
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500109 <action android:name="android.intent.action.DIAL" />
110 <action android:name="android.intent.action.VIEW" />
111
112 <category android:name="android.intent.category.DEFAULT" />
113 <category android:name="android.intent.category.BROWSABLE" />
114
115 <data android:scheme="sip" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500116 <data android:scheme="tel" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500117 <data
118 android:host="ring.cx"
119 android:pathPrefix="/id/"
120 android:scheme="https" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500121 <data
122 android:host="ring.cx"
123 android:pathPrefix="/id/"
124 android:scheme="http" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500125 <data android:scheme="ring" />
126 </intent-filter>
Adrien Béraud04d822c2015-04-02 17:44:36 -0400127 </activity>
128 <activity
Loïc Siret2fd8d6c2017-08-04 11:15:52 -0400129 android:name=".account.AccountWizard"
Aline Bonnetdf173512016-12-20 17:22:39 -0500130 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400131 android:screenOrientation="fullUser"
Pierre Duchemin8b715f82018-01-09 11:53:40 -0500132 android:theme="@style/AppThemeBase" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400133 <activity
Alexandre Lisionecaab112017-05-13 14:49:49 -0400134 android:name=".account.AccountEditionActivity"
Adrien Béraud1347b402016-10-12 16:16:04 -0400135 android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
Adrien Béraud04d822c2015-04-02 17:44:36 -0400136 android:label="@string/app_name"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400137 android:screenOrientation="fullUser"
Adrien Béraud1347b402016-10-12 16:16:04 -0400138 android:theme="@style/AppThemeBase" />
Adrien Béraudb179bab2015-10-08 12:04:22 -0400139
Adrien Béraud482cc5b2016-02-03 13:14:46 -0500140 <receiver android:name=".service.OutgoingCallHandler">
141 <intent-filter>
142 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500143
Adrien Béraud482cc5b2016-02-03 13:14:46 -0500144 <category android:name="android.intent.category.DEFAULT" />
145 </intent-filter>
146 </receiver>
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500147 <receiver android:name=".service.BootReceiver">
148 <intent-filter>
149 <action android:name="android.intent.action.BOOT_COMPLETED" />
150 </intent-filter>
151 </receiver>
Adrien Béraud482cc5b2016-02-03 13:14:46 -0500152
Adrien Béraud04d822c2015-04-02 17:44:36 -0400153 <activity
Adrien Béraudb179bab2015-10-08 12:04:22 -0400154 android:name=".client.CallActivity"
Adrien Béraud1347b402016-10-12 16:16:04 -0400155 android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
Adrien Béraud04d822c2015-04-02 17:44:36 -0400156 android:label="@string/app_name"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400157 android:screenOrientation="fullUser"
Adrien Béraudfb6341f2016-03-07 16:18:54 -0500158 android:theme="@style/AppTheme.ActionBar.Transparent"
Adrien Béraud4bb26e02018-01-13 21:08:59 -0500159 android:showOnLockScreen="true"
Romain Bertozziad8fd842016-05-11 14:30:35 -0400160 android:windowSoftInputMode="adjustPan|stateHidden">
Adrien Béraud04d822c2015-04-02 17:44:36 -0400161 <intent-filter>
Adrien Béraudb179bab2015-10-08 12:04:22 -0400162 <action android:name="android.intent.action.CALL" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400163
164 <category android:name="android.intent.category.DEFAULT" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500165 <category android:name="android.intent.category.BROWSABLE" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400166
Adrien Béraudb179bab2015-10-08 12:04:22 -0400167 <data android:scheme="sip" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400168 </intent-filter>
Adrien Béraudb179bab2015-10-08 12:04:22 -0400169 <intent-filter>
170 <action android:name="android.intent.action.CALL" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500171
172 <category android:name="android.intent.category.DEFAULT" />
173 <category android:name="android.intent.category.BROWSABLE" />
174
175 <data android:scheme="tel" />
176 </intent-filter>
177 <intent-filter>
178 <action android:name="android.intent.action.CALL" />
179
180 <category android:name="android.intent.category.DEFAULT" />
181 <category android:name="android.intent.category.BROWSABLE" />
182
183 <data
184 android:host="ring.cx"
185 android:pathPrefix="/id/"
186 android:scheme="https" />
187 </intent-filter>
188 <intent-filter>
189 <action android:name="android.intent.action.CALL" />
190
191 <category android:name="android.intent.category.DEFAULT" />
192 <category android:name="android.intent.category.BROWSABLE" />
193
194 <data
195 android:host="ring.cx"
196 android:pathPrefix="/id/"
197 android:scheme="http" />
198 </intent-filter>
199 <intent-filter>
200 <action android:name="android.intent.action.CALL" />
201
202 <category android:name="android.intent.category.DEFAULT" />
203 <category android:name="android.intent.category.BROWSABLE" />
204
205 <data android:scheme="ring" />
206 </intent-filter>
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500207 <intent-filter>
208 <action android:name="android.intent.action.CALL" />
Adrien Béraudb179bab2015-10-08 12:04:22 -0400209 <action android:name="android.intent.action.DIAL" />
210
211 <category android:name="android.intent.category.DEFAULT" />
212
213 <data android:mimeType="vnd.android.cursor.item/phone" />
214 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
215 <data android:mimeType="vnd.android.cursor.item/person" />
216 </intent-filter>
217 </activity>
218 <activity
219 android:name=".client.ConversationActivity"
Aline Bonnet9c6defe2016-12-21 13:21:02 -0500220 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Adrien Béraudb179bab2015-10-08 12:04:22 -0400221 android:label="@string/app_name"
222 android:parentActivityName=".client.HomeActivity"
Adrien Béraudf79762c2016-08-29 18:04:33 -0400223 android:screenOrientation="fullUser"
Adrien Béraud1347b402016-10-12 16:16:04 -0400224 android:theme="@style/AppThemeBase"
225 android:windowSoftInputMode="adjustResize" />
226 <activity
227 android:name=".client.QRCodeScannerActivity"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400228 android:screenOrientation="fullUser"
Romain Bertozzi2b2aa6f2016-04-28 11:18:57 -0400229 android:stateNotNeeded="true"
230 android:theme="@style/zxing_CaptureTheme"
Alexandre Lision3d5fdc12016-12-08 11:15:15 -0500231 android:windowSoftInputMode="stateAlwaysHidden" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400232
233 <service
Adrien Béraud4c6d29b2015-11-19 18:10:35 -0500234 android:name=".service.DRingService"
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500235 android:exported="false">
Adrien Béraud04d822c2015-04-02 17:44:36 -0400236 <intent-filter>
Adrien Béraud4c6d29b2015-11-19 18:10:35 -0500237 <action android:name=".service.DRingService" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400238 </intent-filter>
239 </service>
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400240
241 <!-- AndroidTV section -->
242 <activity
Hadrien De Sousa4f1f25b2017-06-05 16:50:15 -0400243 android:name=".tv.launch.TVLaunchActivity"
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400244 android:banner="@drawable/banner"
245 android:icon="@drawable/ic_launcher"
246 android:label="@string/title_activity_sflphone_home"
247 android:logo="@drawable/ic_launcher"
Loïc Siret5ef225d2017-08-14 11:31:16 -0400248 android:screenOrientation="landscape"
249 android:theme="@style/AppThemeBase">
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400250 <intent-filter>
251 <action android:name="android.intent.action.MAIN" />
252 <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
253 </intent-filter>
254 </activity>
Hadrien De Sousa4f1f25b2017-06-05 16:50:15 -0400255 <activity
256 android:name=".tv.main.HomeActivity"
257 android:label="@string/title_activity_sflphone_home"
Loïc Siret5ef225d2017-08-14 11:31:16 -0400258 android:screenOrientation="landscape"
259 android:theme="@style/Theme.Ring.Leanback.CustomTitle" />
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400260 <activity
Loïc Siret2fd8d6c2017-08-04 11:15:52 -0400261 android:name=".tv.account.TVAccountWizard"
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400262 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400263 android:screenOrientation="fullUser"
264 android:theme="@style/AppThemeBase" />
265
Loïc Siret5ef225d2017-08-14 11:31:16 -0400266 <activity
267 android:name="cx.ring.tv.search.SearchActivity"
268 android:theme="@style/Theme.Leanback" />
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400269
Hadrien De Sousa900b3772018-01-03 15:41:03 -0500270 <activity
271 android:name="cx.ring.tv.about.AboutActivity"
272 android:theme="@style/Theme.Leanback" />
Loïc Siret9d5aea12017-08-28 15:17:25 -0400273
Pierre Duchemin8b715f82018-01-09 11:53:40 -0500274 <activity
275 android:name="cx.ring.tv.account.TVProfileEditingActivity"
276 android:theme="@style/Theme.Leanback" />
Pierre Duchemin651e0de2017-12-18 15:00:44 -0500277
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400278 <activity
279 android:name="cx.ring.tv.call.TVCallActivity"
Adrien Béraud4bb26e02018-01-13 21:08:59 -0500280 android:showOnLockScreen="true"
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400281 android:theme="@style/AppThemeBase">
282 <intent-filter>
283 <action android:name="cx.ring.action.CALL" />
284 <category android:name="android.intent.category.DEFAULT" />
285 </intent-filter>
286 </activity>
287
Loïc Sireteaafc6b2017-09-27 11:18:54 -0400288 <activity
289 android:name="cx.ring.tv.camera.CustomCameraActivity"
290 android:theme="@style/AppThemeBase">
291 <intent-filter>
292 <action android:name="cx.ring.action.CALL" />
293 <category android:name="android.intent.category.DEFAULT" />
294 </intent-filter>
295 </activity>
Hadrien De Sousa900b3772018-01-03 15:41:03 -0500296 <activity
297 android:name=".tv.contactrequest.TVContactRequestActivity"
298 android:theme="@style/Theme.Leanback.Details" />
Pierre Duchemin8b715f82018-01-09 11:53:40 -0500299 <activity
300 android:name=".tv.account.TVSettingsActivity"
301 android:theme="@style/LeanbackPreferences" />
Loïc Sireteaafc6b2017-09-27 11:18:54 -0400302
Adrien Béraud0cfb6c82018-01-24 13:01:23 -0500303 <service
304 android:name=".services.RingFirebaseMessagingService">
305 <intent-filter>
306 <action android:name="com.google.firebase.MESSAGING_EVENT"/>
307 </intent-filter>
308 </service>
309
310 <service
311 android:name=".services.RingFirebaseInstanceIdService">
312 <intent-filter>
313 <action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
314 </intent-filter>
315 </service>
316
317
Adrien Béraud04d822c2015-04-02 17:44:36 -0400318 </application>
319
Alexandre Lision3c165a32017-05-10 22:09:41 -0400320</manifest>