blob: 16ae32674d48c88bad94339a9ee7b0f35bc30d87 [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"
Adrien Beraud4126c7f2017-08-03 11:44:56 -040023 android:versionCode="89"
24 android:versionName="20170803">
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" />
Adrien Béraud04d822c2015-04-02 17:44:36 -040069
70 <application
Alexandre Lision5da46fa2017-08-09 10:25:50 -040071 android:name=".application.RingApplication"
Adrien Béraud04d822c2015-04-02 17:44:36 -040072 android:allowBackup="true"
73 android:icon="@drawable/ic_launcher"
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -050074 android:label="@string/app_name"
Adrien Béraud1347b402016-10-12 16:16:04 -040075 android:resizeableActivity="true"
76 android:supportsRtl="true">
Adrien Béraud04d822c2015-04-02 17:44:36 -040077 <activity
Adrien Béraudb179bab2015-10-08 12:04:22 -040078 android:name=".client.HomeActivity"
Aline Bonnetf6c2a402016-12-14 15:25:40 -050079 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Adrien Béraud04d822c2015-04-02 17:44:36 -040080 android:label="@string/title_activity_sflphone_home"
Alexandre Lision0b16eea2016-05-27 15:24:54 -040081 android:launchMode="singleTask"
Adrien Béraud1347b402016-10-12 16:16:04 -040082 android:screenOrientation="fullUser"
83 android:theme="@style/AppThemeBase"
84 android:windowSoftInputMode="adjustResize">
Adrien Béraud04d822c2015-04-02 17:44:36 -040085 <intent-filter>
86 <action android:name="android.intent.action.MAIN" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -050087
Adrien Béraud04d822c2015-04-02 17:44:36 -040088 <category android:name="android.intent.category.LAUNCHER" />
89 </intent-filter>
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -050090 <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éraud04d822c2015-04-02 17:44:36 -0400141 </activity>
142 <activity
Loïc Siret2fd8d6c2017-08-04 11:15:52 -0400143 android:name=".account.AccountWizard"
Aline Bonnetdf173512016-12-20 17:22:39 -0500144 android:configChanges="screenSize|screenLayout|smallestScreenSize"
145
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400146 android:screenOrientation="fullUser"
Adrien Béraud1347b402016-10-12 16:16:04 -0400147 android:theme="@style/AppThemeBase">
Adrien Béraud04d822c2015-04-02 17:44:36 -0400148 <meta-data
149 android:name="android.support.PARENT_ACTIVITY"
Alexandre Lisionecaab112017-05-13 14:49:49 -0400150 android:value="cx.ring.account.AccountEditionActivity" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400151 </activity>
152 <activity
Alexandre Lisionecaab112017-05-13 14:49:49 -0400153 android:name=".account.AccountEditionActivity"
Adrien Béraud1347b402016-10-12 16:16:04 -0400154 android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
Adrien Béraud04d822c2015-04-02 17:44:36 -0400155 android:label="@string/app_name"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400156 android:screenOrientation="fullUser"
Adrien Béraud1347b402016-10-12 16:16:04 -0400157 android:theme="@style/AppThemeBase" />
Adrien Béraudb179bab2015-10-08 12:04:22 -0400158
Adrien Béraud482cc5b2016-02-03 13:14:46 -0500159 <receiver android:name=".service.OutgoingCallHandler">
160 <intent-filter>
161 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500162
Adrien Béraud482cc5b2016-02-03 13:14:46 -0500163 <category android:name="android.intent.category.DEFAULT" />
164 </intent-filter>
165 </receiver>
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500166 <receiver android:name=".service.BootReceiver">
167 <intent-filter>
168 <action android:name="android.intent.action.BOOT_COMPLETED" />
169 </intent-filter>
170 </receiver>
Adrien Béraud482cc5b2016-02-03 13:14:46 -0500171
Adrien Béraud04d822c2015-04-02 17:44:36 -0400172 <activity
Adrien Béraudb179bab2015-10-08 12:04:22 -0400173 android:name=".client.CallActivity"
Adrien Béraud1347b402016-10-12 16:16:04 -0400174 android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
Adrien Béraud04d822c2015-04-02 17:44:36 -0400175 android:label="@string/app_name"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400176 android:screenOrientation="fullUser"
Adrien Béraudfb6341f2016-03-07 16:18:54 -0500177 android:theme="@style/AppTheme.ActionBar.Transparent"
Romain Bertozziad8fd842016-05-11 14:30:35 -0400178 android:windowSoftInputMode="adjustPan|stateHidden">
Adrien Béraud04d822c2015-04-02 17:44:36 -0400179 <intent-filter>
Adrien Béraudb179bab2015-10-08 12:04:22 -0400180 <action android:name="android.intent.action.CALL" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400181
182 <category android:name="android.intent.category.DEFAULT" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500183 <category android:name="android.intent.category.BROWSABLE" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400184
Adrien Béraudb179bab2015-10-08 12:04:22 -0400185 <data android:scheme="sip" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400186 </intent-filter>
Adrien Béraudb179bab2015-10-08 12:04:22 -0400187 <intent-filter>
188 <action android:name="android.intent.action.CALL" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500189
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éraud1f3a3ab2016-02-18 12:34:23 -0500225 <intent-filter>
226 <action android:name="android.intent.action.CALL" />
Adrien Béraudb179bab2015-10-08 12:04:22 -0400227 <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 Bonnet9c6defe2016-12-21 13:21:02 -0500238 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Adrien Béraudb179bab2015-10-08 12:04:22 -0400239 android:label="@string/app_name"
240 android:parentActivityName=".client.HomeActivity"
Adrien Béraudf79762c2016-08-29 18:04:33 -0400241 android:screenOrientation="fullUser"
Adrien Béraud1347b402016-10-12 16:16:04 -0400242 android:theme="@style/AppThemeBase"
243 android:windowSoftInputMode="adjustResize" />
244 <activity
245 android:name=".client.QRCodeScannerActivity"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400246 android:screenOrientation="fullUser"
Romain Bertozzi2b2aa6f2016-04-28 11:18:57 -0400247 android:stateNotNeeded="true"
248 android:theme="@style/zxing_CaptureTheme"
Alexandre Lision3d5fdc12016-12-08 11:15:15 -0500249 android:windowSoftInputMode="stateAlwaysHidden" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400250
251 <service
Adrien Béraud4c6d29b2015-11-19 18:10:35 -0500252 android:name=".service.DRingService"
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500253 android:exported="false">
Adrien Béraud04d822c2015-04-02 17:44:36 -0400254 <intent-filter>
Adrien Béraud4c6d29b2015-11-19 18:10:35 -0500255 <action android:name=".service.DRingService" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400256 </intent-filter>
257 </service>
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400258
259 <!-- AndroidTV section -->
260 <activity
Alexandre Lision689b7ad2017-08-10 17:37:19 -0400261 android:name="cx.ring.tv.main.HomeActivity"
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400262 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 Siret2fd8d6c2017-08-04 11:15:52 -0400274
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400275 <activity
Loïc Siret2fd8d6c2017-08-04 11:15:52 -0400276 android:name=".tv.account.TVAccountWizard"
Alexandre Lisionfed74d72017-08-09 10:59:40 -0400277 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éraud04d822c2015-04-02 17:44:36 -0400294 </application>
295
Alexandre Lision3c165a32017-05-10 22:09:41 -0400296</manifest>