blob: d795f7a808c4b72b78ec1e2c3a444dd68cc31678 [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"
Aline Bonnetc7820a22017-05-01 17:22:56 -040023 android:versionCode="76"
24 android:versionName="20170501">
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"
62 android:required="true" />
63 <uses-feature
64 android:name="android.hardware.bluetooth"
65 android:required="false" />
Adrien Béraud04d822c2015-04-02 17:44:36 -040066
67 <application
Thibault Wittemberg55030872016-11-08 10:55:54 -050068 android:name=".application.RingApplication"
Adrien Béraud04d822c2015-04-02 17:44:36 -040069 android:allowBackup="true"
70 android:icon="@drawable/ic_launcher"
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -050071 android:label="@string/app_name"
Adrien Béraud1347b402016-10-12 16:16:04 -040072 android:resizeableActivity="true"
73 android:supportsRtl="true">
Adrien Béraud04d822c2015-04-02 17:44:36 -040074 <activity
Adrien Béraudb179bab2015-10-08 12:04:22 -040075 android:name=".client.HomeActivity"
Aline Bonnetf6c2a402016-12-14 15:25:40 -050076 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Adrien Béraud04d822c2015-04-02 17:44:36 -040077 android:label="@string/title_activity_sflphone_home"
Alexandre Lision0b16eea2016-05-27 15:24:54 -040078 android:launchMode="singleTask"
Adrien Béraud1347b402016-10-12 16:16:04 -040079 android:screenOrientation="fullUser"
80 android:theme="@style/AppThemeBase"
81 android:windowSoftInputMode="adjustResize">
Adrien Béraud04d822c2015-04-02 17:44:36 -040082 <intent-filter>
83 <action android:name="android.intent.action.MAIN" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -050084
Adrien Béraud04d822c2015-04-02 17:44:36 -040085 <category android:name="android.intent.category.LAUNCHER" />
86 </intent-filter>
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -050087 <intent-filter>
88 <action android:name="android.intent.action.DIAL" />
89 <action android:name="android.intent.action.VIEW" />
90
91 <category android:name="android.intent.category.DEFAULT" />
92 <category android:name="android.intent.category.BROWSABLE" />
93
94 <data android:scheme="sip" />
95 </intent-filter>
96 <intent-filter>
97 <action android:name="android.intent.action.DIAL" />
98 <action android:name="android.intent.action.VIEW" />
99
100 <category android:name="android.intent.category.DEFAULT" />
101 <category android:name="android.intent.category.BROWSABLE" />
102
103 <data android:scheme="tel" />
104 </intent-filter>
105 <intent-filter>
106 <action android:name="android.intent.action.VIEW" />
107 <action android:name="android.intent.action.DIAL" />
108
109 <category android:name="android.intent.category.DEFAULT" />
110 <category android:name="android.intent.category.BROWSABLE" />
111
112 <data
113 android:host="ring.cx"
114 android:pathPrefix="/id/"
115 android:scheme="https" />
116 </intent-filter>
117 <intent-filter>
118 <action android:name="android.intent.action.VIEW" />
119 <action android:name="android.intent.action.DIAL" />
120
121 <category android:name="android.intent.category.DEFAULT" />
122 <category android:name="android.intent.category.BROWSABLE" />
123
124 <data
125 android:host="ring.cx"
126 android:pathPrefix="/id/"
127 android:scheme="http" />
128 </intent-filter>
129 <intent-filter>
130 <action android:name="android.intent.action.DIAL" />
131 <action android:name="android.intent.action.VIEW" />
132
133 <category android:name="android.intent.category.DEFAULT" />
134 <category android:name="android.intent.category.BROWSABLE" />
135
136 <data android:scheme="ring" />
137 </intent-filter>
Adrien Béraud04d822c2015-04-02 17:44:36 -0400138 </activity>
139 <activity
Adrien Béraudb179bab2015-10-08 12:04:22 -0400140 android:name=".client.AccountWizard"
Aline Bonnetdf173512016-12-20 17:22:39 -0500141 android:configChanges="screenSize|screenLayout|smallestScreenSize"
142
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400143 android:screenOrientation="fullUser"
Adrien Béraud1347b402016-10-12 16:16:04 -0400144 android:theme="@style/AppThemeBase">
Adrien Béraud04d822c2015-04-02 17:44:36 -0400145 <meta-data
146 android:name="android.support.PARENT_ACTIVITY"
Adrien Béraudb179bab2015-10-08 12:04:22 -0400147 android:value="cx.ring.client.AccountEditionActivity" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400148 </activity>
149 <activity
Adrien Béraudb179bab2015-10-08 12:04:22 -0400150 android:name=".client.AccountEditionActivity"
Adrien Béraud1347b402016-10-12 16:16:04 -0400151 android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
Adrien Béraud04d822c2015-04-02 17:44:36 -0400152 android:label="@string/app_name"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400153 android:screenOrientation="fullUser"
Adrien Béraud1347b402016-10-12 16:16:04 -0400154 android:theme="@style/AppThemeBase" />
Adrien Béraudb179bab2015-10-08 12:04:22 -0400155
Adrien Béraud482cc5b2016-02-03 13:14:46 -0500156 <receiver android:name=".service.OutgoingCallHandler">
157 <intent-filter>
158 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500159
Adrien Béraud482cc5b2016-02-03 13:14:46 -0500160 <category android:name="android.intent.category.DEFAULT" />
161 </intent-filter>
162 </receiver>
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500163 <receiver android:name=".service.BootReceiver">
164 <intent-filter>
165 <action android:name="android.intent.action.BOOT_COMPLETED" />
166 </intent-filter>
167 </receiver>
Adrien Béraud482cc5b2016-02-03 13:14:46 -0500168
Adrien Béraud04d822c2015-04-02 17:44:36 -0400169 <activity
Adrien Béraudb179bab2015-10-08 12:04:22 -0400170 android:name=".client.CallActivity"
Adrien Béraud1347b402016-10-12 16:16:04 -0400171 android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
Adrien Béraud04d822c2015-04-02 17:44:36 -0400172 android:label="@string/app_name"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400173 android:screenOrientation="fullUser"
Adrien Béraudfb6341f2016-03-07 16:18:54 -0500174 android:theme="@style/AppTheme.ActionBar.Transparent"
Romain Bertozziad8fd842016-05-11 14:30:35 -0400175 android:windowSoftInputMode="adjustPan|stateHidden">
Adrien Béraud04d822c2015-04-02 17:44:36 -0400176 <intent-filter>
Adrien Béraudb179bab2015-10-08 12:04:22 -0400177 <action android:name="android.intent.action.CALL" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400178
179 <category android:name="android.intent.category.DEFAULT" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500180 <category android:name="android.intent.category.BROWSABLE" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400181
Adrien Béraudb179bab2015-10-08 12:04:22 -0400182 <data android:scheme="sip" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400183 </intent-filter>
Adrien Béraudb179bab2015-10-08 12:04:22 -0400184 <intent-filter>
185 <action android:name="android.intent.action.CALL" />
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500186
187 <category android:name="android.intent.category.DEFAULT" />
188 <category android:name="android.intent.category.BROWSABLE" />
189
190 <data android:scheme="tel" />
191 </intent-filter>
192 <intent-filter>
193 <action android:name="android.intent.action.CALL" />
194
195 <category android:name="android.intent.category.DEFAULT" />
196 <category android:name="android.intent.category.BROWSABLE" />
197
198 <data
199 android:host="ring.cx"
200 android:pathPrefix="/id/"
201 android:scheme="https" />
202 </intent-filter>
203 <intent-filter>
204 <action android:name="android.intent.action.CALL" />
205
206 <category android:name="android.intent.category.DEFAULT" />
207 <category android:name="android.intent.category.BROWSABLE" />
208
209 <data
210 android:host="ring.cx"
211 android:pathPrefix="/id/"
212 android:scheme="http" />
213 </intent-filter>
214 <intent-filter>
215 <action android:name="android.intent.action.CALL" />
216
217 <category android:name="android.intent.category.DEFAULT" />
218 <category android:name="android.intent.category.BROWSABLE" />
219
220 <data android:scheme="ring" />
221 </intent-filter>
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500222 <intent-filter>
223 <action android:name="android.intent.action.CALL" />
Adrien Béraudb179bab2015-10-08 12:04:22 -0400224 <action android:name="android.intent.action.DIAL" />
225
226 <category android:name="android.intent.category.DEFAULT" />
227
228 <data android:mimeType="vnd.android.cursor.item/phone" />
229 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
230 <data android:mimeType="vnd.android.cursor.item/person" />
231 </intent-filter>
232 </activity>
233 <activity
234 android:name=".client.ConversationActivity"
Aline Bonnet9c6defe2016-12-21 13:21:02 -0500235 android:configChanges="screenSize|screenLayout|smallestScreenSize"
Adrien Béraudb179bab2015-10-08 12:04:22 -0400236 android:label="@string/app_name"
237 android:parentActivityName=".client.HomeActivity"
Adrien Béraudf79762c2016-08-29 18:04:33 -0400238 android:screenOrientation="fullUser"
Adrien Béraud1347b402016-10-12 16:16:04 -0400239 android:theme="@style/AppThemeBase"
240 android:windowSoftInputMode="adjustResize" />
241 <activity
242 android:name=".client.QRCodeScannerActivity"
Alexandre Lision0b16eea2016-05-27 15:24:54 -0400243 android:screenOrientation="fullUser"
Romain Bertozzi2b2aa6f2016-04-28 11:18:57 -0400244 android:stateNotNeeded="true"
245 android:theme="@style/zxing_CaptureTheme"
Alexandre Lision3d5fdc12016-12-08 11:15:15 -0500246 android:windowSoftInputMode="stateAlwaysHidden" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400247
248 <service
Adrien Béraudb179bab2015-10-08 12:04:22 -0400249 android:name=".service.LocalService"
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500250 android:exported="false">
Adrien Béraudb179bab2015-10-08 12:04:22 -0400251 <intent-filter>
252 <action android:name=".service.LocalService" />
253 </intent-filter>
254 </service>
255 <service
Adrien Béraud4c6d29b2015-11-19 18:10:35 -0500256 android:name=".service.DRingService"
Adrien Béraud1f3a3ab2016-02-18 12:34:23 -0500257 android:exported="false">
Adrien Béraud04d822c2015-04-02 17:44:36 -0400258 <intent-filter>
Adrien Béraud4c6d29b2015-11-19 18:10:35 -0500259 <action android:name=".service.DRingService" />
Adrien Béraud04d822c2015-04-02 17:44:36 -0400260 </intent-filter>
261 </service>
262 </application>
263
Adrien Béraud1347b402016-10-12 16:16:04 -0400264</manifest>