mirror of https://github.com/M66B/FairEmail.git
187 lines
7.0 KiB
XML
187 lines
7.0 KiB
XML
<?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" />
|
|
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
|
<uses-permission
|
|
android:name="android.permission.USE_CREDENTIALS"
|
|
android:maxSdkVersion="22" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="com.android.vending.BILLING" />
|
|
|
|
<!-- https://developer.android.com/guide/topics/manifest/uses-feature-element#features-reference -->
|
|
<uses-feature
|
|
android:name="android.software.app_widgets"
|
|
android:required="false" />
|
|
<uses-feature
|
|
android:name="android.software.webview"
|
|
android:required="false" />
|
|
|
|
<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"
|
|
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" />
|
|
|
|
<activity
|
|
android:name=".ActivityMain"
|
|
android:excludeFromRecents="true"
|
|
android:exported="true"
|
|
android:launchMode="singleInstance"
|
|
android:theme="@style/Theme.AppCompat.Translucent">
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="android.app.shortcuts"
|
|
android:resource="@xml/shortcuts" />
|
|
</activity>
|
|
|
|
<activity
|
|
android:name=".ActivitySetup"
|
|
android:exported="true"
|
|
android:launchMode="singleInstance"
|
|
android:parentActivityName=".ActivityMain">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.APPLICATION_PREFERENCES" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity
|
|
android:name=".ActivityView"
|
|
android:exported="false"
|
|
android:launchMode="singleTop"
|
|
android:parentActivityName=".ActivityMain" />
|
|
|
|
<activity
|
|
android:name=".ActivitySearch"
|
|
android:enabled="false"
|
|
android:excludeFromRecents="true"
|
|
android:exported="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:launchMode="singleTop"
|
|
android:theme="@style/Theme.AppCompat.Translucent">
|
|
|
|
<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>
|
|
|
|
<activity
|
|
android:name=".ActivityCompose"
|
|
android:documentLaunchMode="always"
|
|
android:exported="true"
|
|
android:launchMode="standard"
|
|
android:parentActivityName=".ActivityView">
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEND" />
|
|
<action android:name="android.intent.action.SEND_MULTIPLE" />
|
|
|
|
<data android:mimeType="*/*" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SENDTO" />
|
|
<data android:scheme="mailto" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<data android:scheme="mailto" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<service android:name=".ServiceSynchronize" />
|
|
|
|
<service
|
|
android:name=".JobDaily"
|
|
android:exported="true"
|
|
android:permission="android.permission.BIND_JOB_SERVICE" />
|
|
|
|
<service
|
|
android:name=".ServiceTileSynchronize"
|
|
android:icon="@drawable/baseline_sync_disabled_24"
|
|
android:label="@string/app_name"
|
|
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"
|
|
android:icon="@drawable/baseline_mail_outline_24"
|
|
android:label="@string/tile_unseen"
|
|
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
|
|
<intent-filter>
|
|
<action android:name="android.service.quicksettings.action.QS_TILE" />
|
|
</intent-filter>
|
|
</service>
|
|
|
|
<provider
|
|
android:name="androidx.core.content.FileProvider"
|
|
android:authorities="${applicationId}"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true">
|
|
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/fileprovider_paths" />
|
|
</provider>
|
|
|
|
<receiver
|
|
android:name=".Widget"
|
|
android:label="@string/app_name">
|
|
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="android.appwidget.provider"
|
|
android:resource="@xml/widget" />
|
|
</receiver>
|
|
|
|
<receiver android:name=".ReceiverAutostart">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
</application>
|
|
</manifest> |