fedilab-Android-App/app/src/main/AndroidManifest.xml

237 lines
11 KiB
XML
Raw Normal View History

2017-05-05 16:36:04 +02:00
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017 Thomas Schneider
2017-07-10 10:33:24 +02:00
This file is a part of Mastalab
2017-05-05 16:36:04 +02:00
This program is free software; you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation; either version 3 of the
License, or (at your option) any later version.
2017-07-10 10:33:24 +02:00
Mastalab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
2017-05-05 16:36:04 +02:00
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
2017-08-04 11:11:27 +02:00
You should have received a copy of the GNU General Public License along with Mastalab; if not,
2017-05-05 16:36:04 +02:00
see <http://www.gnu.org/licenses>
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2018-09-05 10:19:07 +02:00
xmlns:tools="http://schemas.android.com/tools"
2017-05-05 16:36:04 +02:00
android:installLocation="auto"
2017-11-12 07:57:48 +01:00
package="fr.gouv.etalab.mastodon">
2017-05-05 16:36:04 +02:00
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
2017-11-12 07:57:48 +01:00
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-feature android:name="android.hardware.camera" android:required="true" />
2017-05-05 16:36:04 +02:00
<application
2017-11-12 07:57:48 +01:00
android:name=".activities.MainApplication"
2018-02-17 16:25:16 +01:00
android:allowBackup="false"
2018-09-05 10:19:07 +02:00
tools:replace="android:allowBackup"
2017-05-05 16:36:04 +02:00
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
2018-09-16 15:05:33 +02:00
android:largeHeap="true"
2017-05-05 16:36:04 +02:00
android:hardwareAccelerated="true"
android:roundIcon="@mipmap/ic_launcher"
android:supportsRtl="true"
2017-07-10 10:33:24 +02:00
android:theme="@style/AppThemeDark">
2017-12-13 15:27:26 +01:00
<service
android:name=".services.LiveNotificationService"
android:exported="false"/>
2018-01-06 15:14:11 +01:00
<service android:name=".services.BackupStatusService"
android:exported="false"/>
2018-02-17 08:44:13 +01:00
<service android:name=".services.BackupStatusInDataBaseService"
android:exported="false"/>
<receiver android:name=".services.RestartLiveNotificationReceiver"
android:exported="false">
2017-11-12 07:57:48 +01:00
<intent-filter>
2017-11-29 18:26:32 +01:00
<action android:name="RestartLiveNotificationService" />
2017-11-12 07:57:48 +01:00
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
2018-01-03 15:25:35 +01:00
<receiver android:name=".services.StopLiveNotificationReceiver"
android:exported="false">
<intent-filter>
2018-01-03 15:25:35 +01:00
<action android:name="StopLiveNotificationReceiver" />
</intent-filter>
</receiver>
2018-01-03 15:25:35 +01:00
<service
android:name=".services.StreamingFederatedTimelineService"
android:exported="false"/>
2017-09-30 08:48:44 +02:00
<service
2017-11-12 07:57:48 +01:00
android:name=".services.StreamingLocalTimelineService"
2017-09-30 08:48:44 +02:00
android:exported="false"/>
2018-01-03 15:25:35 +01:00
2018-08-20 19:00:20 +02:00
<activity android:name=".activities.InstanceFederatedActivity"
android:label="@string/app_name"
android:launchMode="singleTop"
android:windowSoftInputMode = "adjustResize"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="@style/AppThemeDark_NoActionBar"/>
2017-05-05 16:36:04 +02:00
<activity
2017-11-12 07:57:48 +01:00
android:name=".activities.MainActivity"
2017-05-05 16:36:04 +02:00
android:label="@string/app_name"
2017-12-13 15:27:26 +01:00
android:launchMode="singleTop"
2017-07-24 14:25:32 +02:00
android:windowSoftInputMode = "adjustResize"
2017-05-05 16:36:04 +02:00
android:configChanges="keyboardHidden|orientation|screenSize"
2017-07-10 10:33:24 +02:00
android:theme="@style/AppThemeDark_NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</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>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
2018-09-28 18:05:18 +02:00
<data android:mimeType="video/*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
2018-09-28 18:05:18 +02:00
<data android:mimeType="video/*" />
</intent-filter>
2017-12-20 08:59:44 +01:00
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<!-- The app is a good candidate for URL in https://domain.name/@xxxxxx-->
<!-- It should cover every URLs for statuses but some others not related to mastodon matching this scheme -->
<data
android:scheme="https"
android:host="*"
android:pathPrefix="/@"
/>
</intent-filter>
2017-05-05 16:36:04 +02:00
</activity>
2017-11-12 07:57:48 +01:00
<activity android:name=".activities.LoginActivity"
2017-05-05 16:36:04 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="backtomastalab" android:scheme="mastalab" />
</intent-filter>
</activity>
2017-11-12 07:57:48 +01:00
<activity android:name=".activities.ShowAccountActivity"
2017-05-05 16:36:04 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2017-11-12 07:57:48 +01:00
<activity android:name=".activities.HashTagActivity"
2017-05-27 08:32:14 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2017-11-12 07:57:48 +01:00
<activity android:name=".activities.WebviewConnectActivity"
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation|screenSize"
/>
2017-11-12 07:57:48 +01:00
<activity android:name=".activities.WebviewActivity"
2017-05-26 17:20:36 +02:00
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation|screenSize"
/>
2017-11-12 07:57:48 +01:00
<activity android:name=".activities.MediaActivity"
android:label="@string/app_name"
2018-02-09 17:39:09 +01:00
android:theme="@style/Theme.Transparent"
android:configChanges="keyboardHidden|orientation|screenSize"
android:noHistory="true"
2017-05-26 17:20:36 +02:00
/>
2017-11-12 07:57:48 +01:00
<activity android:name=".activities.RemoteFollowActivity"
2017-08-22 17:34:26 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2017-11-12 07:57:48 +01:00
<activity android:name=".activities.SearchResultActivity"
2017-05-26 17:20:36 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2017-12-14 16:14:24 +01:00
<activity android:name=".activities.ListActivity"
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2018-09-10 19:21:42 +02:00
<activity android:name=".activities.WhoToFollowActivity"
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2017-11-12 07:57:48 +01:00
<activity android:name=".activities.ShowConversationActivity"
2017-05-05 16:36:04 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2018-02-17 11:28:52 +01:00
<activity android:name=".activities.OwnerStatusActivity"
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
2018-02-17 15:42:09 +01:00
android:launchMode="singleTask"
2018-02-17 11:28:52 +01:00
/>
2017-11-12 07:57:48 +01:00
<activity android:name=".activities.AboutActivity"
2017-05-05 16:36:04 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2018-09-01 08:13:22 +02:00
<activity android:name=".activities.PartnerShipActivity"
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2017-11-12 07:57:48 +01:00
<activity android:name=".activities.InstanceActivity"
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
2017-05-05 16:36:04 +02:00
android:label="@string/app_name"
/>
2017-11-12 07:57:48 +01:00
<activity android:name=".activities.PrivacyActivity"
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2017-11-12 07:57:48 +01:00
<activity android:name=".activities.TootActivity"
2018-09-01 18:24:01 +02:00
android:launchMode="singleTop"
2017-05-05 16:36:04 +02:00
android:windowSoftInputMode="adjustResize"
android:fitsSystemWindows="true"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
2017-07-21 21:09:32 +02:00
android:theme="@style/AppTheme_NoActionBar"
2017-05-05 16:36:04 +02:00
/>
2017-11-12 07:57:48 +01:00
<activity android:name=".activities.EditProfileActivity"
2017-08-28 09:20:19 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2017-11-24 19:55:06 +01:00
<activity android:name=".activities.InstanceHealthActivity"
2017-11-25 11:01:34 +01:00
android:theme="@style/Base.V7.Theme.AppCompat.Dialog"
2017-11-24 19:55:06 +01:00
android:excludeFromRecents="true"/>
2018-01-20 09:46:28 +01:00
<activity android:name=".activities.ProxyActivity"
android:theme="@style/Base.V7.Theme.AppCompat.Dialog"
android:excludeFromRecents="true"/>
2017-12-15 07:35:13 +01:00
<activity android:name=".activities.ManageAccountsInListActivity"
2017-12-16 10:55:22 +01:00
android:windowSoftInputMode="adjustPan"
2017-12-15 07:35:13 +01:00
android:theme="@style/Base.V7.Theme.AppCompat.Dialog"
android:excludeFromRecents="true"/>
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="fr.gouv.etalab.mastodon.fileProvider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"/>
</provider>
2017-05-05 16:36:04 +02:00
</application>
</manifest>