FairEmail/app/src/main/AndroidManifest.xml

250 lines
9.5 KiB
XML
Raw Normal View History

2018-08-02 13:33:06 +00:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="eu.faircode.email">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
2018-08-10 16:06:39 +00:00
<uses-permission android:name="android.permission.READ_CONTACTS" />
2018-08-27 14:31:45 +00:00
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
2018-12-09 17:49:52 +00:00
<uses-permission
android:name="android.permission.USE_CREDENTIALS"
android:maxSdkVersion="22" />
2019-02-07 09:25:11 +00:00
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
2018-08-24 12:24:40 +00:00
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
2018-10-08 06:18:44 +00:00
<uses-permission android:name="android.permission.WAKE_LOCK" />
2018-08-25 13:32:52 +00:00
<uses-permission android:name="com.android.vending.BILLING" />
2018-08-02 13:33:06 +00:00
2018-11-26 14:54:38 +00:00
<!-- https://developer.android.com/guide/topics/manifest/uses-feature-element#features-reference -->
2018-10-21 18:29:28 +00:00
<uses-feature
android:name="android.software.app_widgets"
android:required="false" />
2018-11-26 14:54:38 +00:00
<uses-feature
android:name="android.software.webview"
android:required="false" />
2018-10-21 18:29:28 +00:00
2018-08-02 13:33:06 +00:00
<application
android:name=".ApplicationEx"
android:allowBackup="false"
android:appCategory="productivity"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config"
2018-08-02 13:33:06 +00:00
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppThemeLight">
<!-- do not contact Google servers -->
<meta-data
android:name="android.webkit.WebView.MetricsOptOut"
android:value="true" />
<meta-data
android:name="android.webkit.WebView.EnableSafeBrowsing"
android:value="false" />
<meta-data
android:name="android.allow_multiple_resumed_activities"
android:value="true" />
2018-08-04 16:54:57 +00:00
<activity
android:name=".ActivityMain"
2018-08-29 06:07:53 +00:00
android:excludeFromRecents="true"
2018-12-06 14:27:30 +00:00
android:exported="true"
2018-08-11 16:31:49 +00:00
android:launchMode="singleInstance"
2018-12-11 07:19:25 +00:00
android:theme="@style/Theme.AppCompat.Translucent">
2018-11-06 11:06:28 +00:00
2018-08-02 13:33:06 +00:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
2018-11-06 11:06:28 +00:00
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/shortcuts" />
2018-08-02 13:33:06 +00:00
</activity>
<activity
android:name=".ActivitySetup"
2018-11-07 08:09:05 +00:00
android:exported="true"
2018-08-11 16:31:49 +00:00
android:launchMode="singleInstance"
2019-01-14 12:44:25 +00:00
android:parentActivityName=".ActivityMain">
2018-11-07 08:09:05 +00:00
<intent-filter>
<action android:name="android.intent.action.APPLICATION_PREFERENCES" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".ActivityView"
2018-12-06 14:27:30 +00:00
android:exported="false"
android:launchMode="singleTop"
android:parentActivityName=".ActivityMain" />
<activity
android:name=".ActivitySearch"
2018-12-27 16:49:37 +00:00
android:enabled="false"
2018-12-06 14:27:30 +00:00
android:excludeFromRecents="true"
android:exported="true"
2018-12-06 14:27:30 +00:00
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:launchMode="singleTop"
2018-12-11 07:19:25 +00:00
android:theme="@style/Theme.AppCompat.Translucent">
2018-11-06 11:06:28 +00:00
<intent-filter>
<action android:name="android.intent.action.PROCESS_TEXT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>
2018-08-04 16:54:57 +00:00
<activity
android:name=".ActivityCompose"
2018-08-23 11:18:07 +00:00
android:exported="true"
2019-02-18 08:07:15 +00:00
android:launchMode="singleTop"
2018-08-23 11:18:07 +00:00
android:parentActivityName=".ActivityView">
2018-11-06 11:06:28 +00:00
2018-08-23 11:18:07 +00:00
<intent-filter>
<action android:name="android.intent.action.SEND" />
<action android:name="android.intent.action.SEND_MULTIPLE" />
<data android:mimeType="*/*" />
2018-09-04 10:33:27 +00:00
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
2018-11-06 11:06:28 +00:00
2018-09-04 10:33:27 +00:00
<intent-filter>
<action android:name="android.intent.action.SENDTO" />
<data android:scheme="mailto" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
2018-11-06 11:06:28 +00:00
2018-09-04 10:33:27 +00:00
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="mailto" />
2018-08-23 11:18:07 +00:00
<category android:name="android.intent.category.DEFAULT" />
2018-09-04 10:33:27 +00:00
<category android:name="android.intent.category.BROWSABLE" />
2018-08-23 11:18:07 +00:00
</intent-filter>
</activity>
2018-08-02 13:33:06 +00:00
2019-02-06 13:07:13 +00:00
<activity
android:name=".ActivityEml"
android:exported="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name">
2019-02-07 12:35:06 +00:00
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" />
<data android:mimeType="message/rfc822" />
<data android:host="*" />
</intent-filter>
2019-02-06 13:07:13 +00:00
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" />
<data android:mimeType="*/*" />
<data android:host="*" />
<data android:pathPattern=".*\\.eml" />
<data android:pathPattern=".*\\..*\\.eml" />
<data android:pathPattern=".*\\..*\\..*\\.eml" />
<data android:pathPattern=".*\\..*\\..*\\..*\\.eml" />
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.eml" />
</intent-filter>
</activity>
2019-03-17 09:18:40 +00:00
<activity
android:name=".ActivityDSN"
android:exported="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" />
2019-03-18 18:09:21 +00:00
<data android:mimeType="message/delivery-status" />
2019-03-17 09:18:40 +00:00
<data android:mimeType="message/disposition-notification" />
2019-03-18 18:09:21 +00:00
<data android:mimeType="text/rfc822-headers" />
2019-03-17 09:18:40 +00:00
<data android:host="*" />
</intent-filter>
</activity>
2018-08-02 13:33:06 +00:00
<service android:name=".ServiceSynchronize" />
<service android:name=".ServiceSend" />
2019-02-27 15:05:15 +00:00
<service android:name=".ServiceUI" />
2019-02-14 13:28:14 +00:00
<service android:name=".ServiceExternal">
<intent-filter>
2019-02-20 18:02:17 +00:00
<action android:name="${applicationId}.ENABLE" />
<action android:name="${applicationId}.DISABLE" />
2019-02-14 13:28:14 +00:00
</intent-filter>
</service>
2018-11-07 08:09:05 +00:00
<service
2018-11-07 12:10:58 +00:00
android:name=".ServiceTileSynchronize"
2018-11-09 16:05:10 +00:00
android:icon="@drawable/baseline_sync_disabled_24"
2018-11-09 16:16:41 +00:00
android:label="@string/app_name"
2018-11-07 12:10:58 +00:00
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
</service>
<service
android:name=".ServiceTileUnseen"
2018-11-09 16:05:10 +00:00
android:icon="@drawable/baseline_mail_outline_24"
2018-11-07 12:10:58 +00:00
android:label="@string/tile_unseen"
2018-11-07 08:09:05 +00:00
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
</service>
2018-08-04 12:49:44 +00:00
<provider
2018-08-08 06:55:47 +00:00
android:name="androidx.core.content.FileProvider"
2018-08-16 13:57:29 +00:00
android:authorities="${applicationId}"
2018-08-04 12:49:44 +00:00
android:exported="false"
android:grantUriPermissions="true">
2018-11-06 11:06:28 +00:00
2018-08-04 12:49:44 +00:00
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/fileprovider_paths" />
</provider>
2018-10-21 18:29:28 +00:00
<receiver
android:name=".Widget"
android:label="@string/app_name">
2018-11-06 11:06:28 +00:00
2018-10-21 18:29:28 +00:00
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
2018-11-06 11:06:28 +00:00
2018-10-21 18:29:28 +00:00
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/widget" />
</receiver>
2018-08-02 13:33:06 +00:00
<receiver android:name=".ReceiverAutostart">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
2018-11-06 11:06:28 +00:00
2018-08-02 13:33:06 +00:00
<intent-filter>
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
</intent-filter>
</receiver>
</application>
</manifest>