AndroidManifest.xml 17.6 KB
Newer Older
1
<?xml version="1.0" encoding="utf-8"?>
2
<manifest
akwizgran's avatar
akwizgran committed
3
	package="org.briarproject.briar"
akwizgran's avatar
akwizgran committed
4
	xmlns:tools="http://schemas.android.com/tools"
5
	xmlns:android="http://schemas.android.com/apk/res/android">
6

7
	<uses-feature android:name="android.hardware.bluetooth" android:required="false"/>
8
	<uses-feature android:name="android.hardware.camera" android:required="false"/>
9
	<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
10

11 12
	<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
	<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
akwizgran's avatar
akwizgran committed
13 14
	<uses-permission android:name="android.permission.BLUETOOTH" />
	<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
15
	<uses-permission android:name="android.permission.CAMERA" />
akwizgran's avatar
akwizgran committed
16
	<uses-permission android:name="android.permission.INTERNET" />
17 18
	<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
	<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
19
	<uses-permission android:name="android.permission.VIBRATE" />
20
	<uses-permission android:name="android.permission.WAKE_LOCK" />
21
	<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
22
	<uses-permission-sdk-23 android:name="android.permission.ACCESS_COARSE_LOCATION" />
23
	<uses-permission-sdk-23 android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
24
	<uses-permission-sdk-23 android:name="android.permission.USE_BIOMETRIC" />
25
	<uses-permission-sdk-23 android:name="android.permission.FOREGROUND_SERVICE" />
26

akwizgran's avatar
akwizgran committed
27
	<application
28
		android:name="org.briarproject.briar.android.BriarApplicationImpl"
29
		android:allowBackup="false"
akwizgran's avatar
akwizgran committed
30
		android:icon="@mipmap/ic_launcher_round"
31
		android:label="@string/app_name"
Torsten Grote's avatar
Torsten Grote committed
32
		android:logo="@mipmap/ic_launcher_round"
33
		android:supportsRtl="true"
akwizgran's avatar
akwizgran committed
34 35
		android:theme="@style/BriarTheme"
		tools:ignore="GoogleAppIndexingWarning">
36

Torsten Grote's avatar
Torsten Grote committed
37
		<receiver
38
			android:name="org.briarproject.briar.android.login.SignInReminderReceiver"
Torsten Grote's avatar
Torsten Grote committed
39 40 41
			android:exported="false">
			<intent-filter>
				<action android:name="android.intent.action.BOOT_COMPLETED"/>
42
				<action android:name="android.intent.action.MY_PACKAGE_REPLACED"/>
Torsten Grote's avatar
Torsten Grote committed
43 44 45
			</intent-filter>
		</receiver>

46
		<service
47
			android:name="org.briarproject.briar.android.BriarService"
48
			android:exported="false">
akwizgran's avatar
akwizgran committed
49
			<intent-filter>
akwizgran's avatar
akwizgran committed
50
				<action android:name="org.briarproject.briar.android.BriarService"/>
akwizgran's avatar
akwizgran committed
51 52
			</intent-filter>
		</service>
53

54 55 56 57 58
		<service
			android:name="org.briarproject.briar.android.NotificationCleanupService"
			android:exported="false">
		</service>

59
		<activity
60
			android:name="org.briarproject.briar.android.reporting.DevReportActivity"
61
			android:excludeFromRecents="true"
62
			android:exported="false"
str4d's avatar
str4d committed
63
			android:finishOnTaskLaunch="true"
64
			android:label="@string/crash_report_title"
65
			android:launchMode="singleInstance"
66
			android:theme="@style/BriarTheme.NoActionBar"
67
			android:windowSoftInputMode="stateHidden">
68
		</activity>
69

70
		<activity
71
			android:name="org.briarproject.briar.android.splash.ExpiredActivity"
72
			android:label="@string/app_name">
73
		</activity>
74

75
		<activity
76
			android:name="org.briarproject.briar.android.login.PasswordActivity"
77
			android:label="@string/app_name"
78
			android:windowSoftInputMode="stateVisible">
79
		</activity>
80

81
		<activity
82
			android:name="org.briarproject.briar.android.login.SetupActivity"
Torsten Grote's avatar
Torsten Grote committed
83 84
			android:label="@string/setup_title"
			android:windowSoftInputMode="adjustResize">
85
		</activity>
86

akwizgran's avatar
akwizgran committed
87
		<activity
88
			android:name="org.briarproject.briar.android.splash.SplashScreenActivity"
89
			android:theme="@style/BriarTheme.NoActionBar"
90
			android:label="@string/app_name">
akwizgran's avatar
akwizgran committed
91
			<intent-filter>
92 93
				<action android:name="android.intent.action.MAIN"/>
				<category android:name="android.intent.category.LAUNCHER"/>
akwizgran's avatar
akwizgran committed
94 95
			</intent-filter>
		</activity>
96

97 98 99 100 101
		<activity
			android:name=".android.login.OpenDatabaseActivity"
			android:label="@string/app_name"
			android:launchMode="singleTop"/>

102
		<activity
103
			android:name="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
104
			android:theme="@style/BriarTheme.NoActionBar"
105 106
		    android:launchMode="singleTop">
		</activity>
107

108
		<activity
109
			android:name="org.briarproject.briar.android.conversation.ConversationActivity"
110
			android:label="@string/app_name"
111
			android:theme="@style/BriarTheme.NoActionBar"
112
			android:parentActivityName="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
113
			android:windowSoftInputMode="stateHidden|adjustResize">
114 115
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
116
				android:value="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
117
				/>
118
		</activity>
119

120 121 122
		<activity
			android:name=".android.conversation.ImageActivity"
			android:parentActivityName="org.briarproject.briar.android.conversation.ConversationActivity"
akwizgran's avatar
akwizgran committed
123
			android:theme="@style/BriarTheme.ActionBarOverlay">
124 125 126 127 128
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
				android:value="org.briarproject.briar.android.conversation.ConversationActivity"/>
		</activity>

Torsten Grote's avatar
Torsten Grote committed
129
		<activity
130
			android:name="org.briarproject.briar.android.privategroup.creation.CreateGroupActivity"
Torsten Grote's avatar
Torsten Grote committed
131
			android:label="@string/groups_create_group_title"
132
			android:parentActivityName="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
Torsten Grote's avatar
Torsten Grote committed
133 134 135
			android:windowSoftInputMode="adjustResize">
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
136
				android:value="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
Torsten Grote's avatar
Torsten Grote committed
137 138 139
				/>
		</activity>

140
		<activity
141
			android:name="org.briarproject.briar.android.privategroup.conversation.GroupActivity"
142
			android:label="@string/app_name"
143
			android:parentActivityName="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
144
			android:theme="@style/BriarTheme.NoActionBar"
145 146 147
			android:windowSoftInputMode="adjustResize|stateHidden">
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
148
				android:value="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
149 150 151
				/>
		</activity>

152
		<activity
153
			android:name="org.briarproject.briar.android.privategroup.invitation.GroupInvitationActivity"
154
			android:label="@string/groups_invitations_title"
155
			android:parentActivityName="org.briarproject.briar.android.navdrawer.NavDrawerActivity">
156 157
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
158
				android:value="org.briarproject.briar.android.navdrawer.NavDrawerActivity"/>
Torsten Grote's avatar
Torsten Grote committed
159 160
		</activity>

akwizgran's avatar
akwizgran committed
161
		<activity
162
			android:name="org.briarproject.briar.android.privategroup.memberlist.GroupMemberListActivity"
163
			android:label="@string/groups_member_list"
164
			android:parentActivityName="org.briarproject.briar.android.privategroup.conversation.GroupActivity"
Torsten Grote's avatar
Torsten Grote committed
165 166 167
			android:windowSoftInputMode="adjustResize|stateHidden">
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
168
				android:value="org.briarproject.briar.android.privategroup.conversation.GroupActivity"
169 170 171
				/>
		</activity>

172
		<activity
173
			android:name="org.briarproject.briar.android.privategroup.reveal.RevealContactsActivity"
174
			android:label="@string/groups_reveal_contacts"
175
			android:parentActivityName="org.briarproject.briar.android.privategroup.conversation.GroupActivity"
176 177 178
			android:windowSoftInputMode="adjustResize|stateAlwaysHidden">
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
179
				android:value="org.briarproject.briar.android.privategroup.conversation.GroupActivity"
180 181 182
				/>
		</activity>

183
		<activity
184
			android:name="org.briarproject.briar.android.privategroup.creation.GroupInviteActivity"
185
			android:label="@string/groups_invite_members"
186
			android:parentActivityName="org.briarproject.briar.android.privategroup.conversation.GroupActivity"
187 188 189
			android:windowSoftInputMode="adjustResize|stateHidden">
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
190
				android:value="org.briarproject.briar.android.privategroup.conversation.GroupActivity"/>
191 192
		</activity>

193
		<activity
194
			android:name="org.briarproject.briar.android.sharing.ForumInvitationActivity"
195
			android:label="@string/forum_invitations_title"
196
			android:parentActivityName="org.briarproject.briar.android.navdrawer.NavDrawerActivity">
197 198
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
199
				android:value="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
200
				/>
201
		</activity>
202

203
		<activity
204
			android:name="org.briarproject.briar.android.sharing.BlogInvitationActivity"
205
			android:label="@string/blogs_sharing_invitations_title"
206
			android:parentActivityName="org.briarproject.briar.android.conversation.ConversationActivity">
207 208
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
209
				android:value="org.briarproject.briar.android.conversation.ConversationActivity"
210 211 212
				/>
		</activity>

213
		<activity
214
			android:name="org.briarproject.briar.android.forum.CreateForumActivity"
215
			android:label="@string/create_forum_title"
216
			android:parentActivityName="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
217
			android:windowSoftInputMode="adjustResize">
218 219
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
220
				android:value="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
221
				/>
222
		</activity>
223

224
		<activity
225
			android:name="org.briarproject.briar.android.forum.ForumActivity"
226
			android:label="@string/app_name"
227
			android:parentActivityName="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
228
			android:theme="@style/BriarTheme.NoActionBar"
229
			android:windowSoftInputMode="adjustResize|stateHidden">
230 231
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
232
				android:value="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
233
				/>
234
		</activity>
235

236
		<activity
237
			android:name="org.briarproject.briar.android.sharing.ShareForumActivity"
238
			android:label="@string/activity_share_toolbar_header"
239
			android:parentActivityName="org.briarproject.briar.android.forum.ForumActivity"
240
			android:windowSoftInputMode="adjustResize|stateHidden">
241 242
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
243
				android:value="org.briarproject.briar.android.forum.ForumActivity"
244
				/>
245
		</activity>
246

247
		<activity
248
			android:name="org.briarproject.briar.android.sharing.ShareBlogActivity"
249
			android:label="@string/activity_share_toolbar_header"
250
			android:parentActivityName="org.briarproject.briar.android.blog.BlogActivity"
251
			android:windowSoftInputMode="adjustResize|stateHidden">
252 253
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
254
				android:value="org.briarproject.briar.android.blog.BlogActivity"
255 256 257 258
				/>
		</activity>

		<activity
259
			android:name="org.briarproject.briar.android.sharing.ForumSharingStatusActivity"
260
			android:label="@string/sharing_status"
261
			android:parentActivityName="org.briarproject.briar.android.forum.ForumActivity">
262 263
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
264
				android:value="org.briarproject.briar.android.forum.ForumActivity"
265 266 267
				/>
		</activity>

268
		<activity
269
			android:name="org.briarproject.briar.android.sharing.BlogSharingStatusActivity"
270
			android:label="@string/sharing_status"
271
			android:parentActivityName="org.briarproject.briar.android.blog.BlogActivity">
272 273
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
274
				android:value="org.briarproject.briar.android.blog.BlogActivity"
275 276 277
				/>
		</activity>

278
		<activity
279 280
			android:name="org.briarproject.briar.android.blog.BlogActivity"
			android:parentActivityName="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
281
			android:theme="@style/BriarTheme.NoActionBar">
282 283
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
284
				android:value="org.briarproject.briar.android.navdrawer.NavDrawerActivity"/>
285 286
		</activity>

287
		<activity
288
			android:name="org.briarproject.briar.android.blog.WriteBlogPostActivity"
289
			android:label="@string/blogs_write_blog_post"
290
			android:parentActivityName="org.briarproject.briar.android.blog.BlogActivity"
291 292 293
			android:windowSoftInputMode="stateVisible|adjustResize">
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
294
				android:value="org.briarproject.briar.android.blog.BlogActivity"
295 296 297
				/>
		</activity>

Torsten Grote's avatar
Torsten Grote committed
298
		<activity
299
			android:name="org.briarproject.briar.android.blog.ReblogActivity"
Torsten Grote's avatar
Torsten Grote committed
300
			android:label="@string/blogs_reblog_button"
301
			android:parentActivityName="org.briarproject.briar.android.blog.BlogActivity"
Torsten Grote's avatar
Torsten Grote committed
302 303 304
			android:windowSoftInputMode="stateHidden">
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
305
				android:value="org.briarproject.briar.android.blog.BlogActivity"
Torsten Grote's avatar
Torsten Grote committed
306 307 308
				/>
		</activity>

309
		<activity
310
			android:name="org.briarproject.briar.android.blog.RssFeedImportActivity"
311
			android:label="@string/blogs_rss_feeds_import"
312
			android:parentActivityName="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
313 314 315
			android:windowSoftInputMode="stateVisible|adjustResize">
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
316
				android:value="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
317 318 319 320
				/>
		</activity>

		<activity
321
			android:name="org.briarproject.briar.android.blog.RssFeedManageActivity"
322
			android:label="@string/blogs_rss_feeds_manage"
323
			android:parentActivityName="org.briarproject.briar.android.navdrawer.NavDrawerActivity">
324 325
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
326
				android:value="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
327 328 329
				/>
		</activity>

akwizgran's avatar
akwizgran committed
330
		<activity
331
			android:name="org.briarproject.briar.android.keyagreement.ContactExchangeActivity"
332
			android:label="@string/add_contact_title"
333
			android:theme="@style/BriarTheme.NoActionBar"
334
			android:parentActivityName="org.briarproject.briar.android.navdrawer.NavDrawerActivity">
335 336
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
337
				android:value="org.briarproject.briar.android.navdrawer.NavDrawerActivity"/>
338
		</activity>
339

340
		<activity
341
			android:name="org.briarproject.briar.android.introduction.IntroductionActivity"
342
			android:label="@string/introduction_activity_title"
343
			android:parentActivityName="org.briarproject.briar.android.conversation.ConversationActivity"
344 345 346
			android:windowSoftInputMode="stateHidden|adjustResize">
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
347
				android:value="org.briarproject.briar.android.conversation.ConversationActivity"
348 349
				/>
		</activity>
350

351
		<activity
352
			android:name="org.briarproject.briar.android.StartupFailureActivity"
353
			android:label="@string/startup_failed_activity_title">
354
		</activity>
355

356
		<activity
357
			android:name="org.briarproject.briar.android.settings.SettingsActivity"
358
			android:label="@string/settings_button"
359
			android:parentActivityName="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
360
			android:permission="android.permission.READ_NETWORK_USAGE_HISTORY">
361 362
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
363
				android:value="org.briarproject.briar.android.navdrawer.NavDrawerActivity"
364 365 366 367 368 369
				/>
			<intent-filter>
				<action android:name="android.intent.action.MANAGE_NETWORK_USAGE"/>
				<category android:name="android.intent.category.DEFAULT"/>
			</intent-filter>
		</activity>
370

str4d's avatar
str4d committed
371
		<activity
372
			android:name="org.briarproject.briar.android.login.ChangePasswordActivity"
str4d's avatar
str4d committed
373
			android:label="@string/change_password"
374
			android:parentActivityName="org.briarproject.briar.android.settings.SettingsActivity">
str4d's avatar
str4d committed
375 376
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
377
				android:value="org.briarproject.briar.android.settings.SettingsActivity"
str4d's avatar
str4d committed
378 379 380
				/>
		</activity>

381 382 383 384 385 386 387 388 389 390
		<activity
			android:name="org.briarproject.briar.android.test.TestDataActivity"
			android:label="Create test data"
			android:parentActivityName="org.briarproject.briar.android.settings.SettingsActivity">
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
				android:value="org.briarproject.briar.android.settings.SettingsActivity"
				/>
		</activity>

391
		<activity
392
			android:name="org.briarproject.briar.android.panic.PanicPreferencesActivity"
393
			android:label="@string/panic_setting"
394
			android:parentActivityName="org.briarproject.briar.android.settings.SettingsActivity">
395 396
			<meta-data
				android:name="android.support.PARENT_ACTIVITY"
397
				android:value="org.briarproject.briar.android.settings.SettingsActivity"
398
				/>
399
		</activity>
400

401
		<activity
402
			android:name="org.briarproject.briar.android.panic.PanicResponderActivity"
403
			android:noHistory="true"
akwizgran's avatar
akwizgran committed
404
			android:theme="@style/TranslucentTheme">
405 406
			<!-- this can never have launchMode singleTask or singleInstance! -->
			<intent-filter>
407 408
				<action android:name="info.guardianproject.panic.action.TRIGGER"/>
				<category android:name="android.intent.category.DEFAULT"/>
409 410
			</intent-filter>
		</activity>
411

412
		<activity
413
			android:name="org.briarproject.briar.android.logout.ExitActivity"
akwizgran's avatar
akwizgran committed
414
			android:theme="@android:style/Theme.NoDisplay">
415 416 417 418
		</activity>

		<activity
			android:name=".android.logout.HideUiActivity"
akwizgran's avatar
akwizgran committed
419
			android:theme="@android:style/Theme.NoDisplay">
420 421
		</activity>

Torsten Grote's avatar
Torsten Grote committed
422 423 424 425 426 427
		<activity
			android:name=".android.login.UnlockActivity"
			android:label="@string/lock_unlock"
			android:launchMode="singleTask"
			android:theme="@style/BriarTheme.NoActionBar"/>

428 429 430
		<activity
			android:name=".android.contact.add.remote.AddContactActivity"
			android:label="@string/add_contact_remotely_title_case"
431 432
			android:launchMode="singleTask"
			android:theme="@style/BriarTheme"
433 434
			android:windowSoftInputMode="stateHidden|adjustResize">
			<intent-filter>
435 436 437 438 439
				<action android:name="android.intent.action.VIEW"/>

				<category android:name="android.intent.category.DEFAULT"/>
				<category android:name="android.intent.category.BROWSABLE"/>

440 441 442 443 444 445 446 447 448 449
				<data android:scheme="briar"/>
			</intent-filter>
			<intent-filter>
				<action android:name="android.intent.action.SEND"/>
				<category android:name="android.intent.category.DEFAULT"/>
				<data android:mimeType="text/plain"/>
			</intent-filter>
		</activity>

		<activity
450
			android:name=".android.contact.add.remote.PendingContactListActivity"
451 452 453
			android:label="@string/pending_contact_requests"
			android:theme="@style/BriarTheme"/>

akwizgran's avatar
akwizgran committed
454
	</application>
455
</manifest>