Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
AndroidManifest.xml 16.1 KiB
Newer Older
<?xml version="1.0" encoding="utf-8"?>
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
Jesse Vincent's avatar
Jesse Vincent committed
    android:versionCode="15006"
    android:versionName="4.106" package="com.fsck.k9"
       android:minSdkVersion="7"
       android:targetSdkVersion="7"
        android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true"
        android:anyDensity="true"
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
    <uses-permission android:name="android.permission.READ_CONTACTS"/>
Daniel Applebaum's avatar
Daniel Applebaum committed
    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>

    <!-- Needed to mark a contact as contacted -->
    <uses-permission android:name="android.permission.WRITE_CONTACTS"/>

    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.VIBRATE"/>
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
Bao-Long Nguyen-Trong's avatar
Bao-Long Nguyen-Trong committed
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="org.thialfihar.android.apg.permission.READ_KEY_DETAILS" />

    <permission android:name="com.fsck.k9.permission.READ_ATTACHMENT"
                android:permissionGroup="android.permission-group.MESSAGES"
                android:protectionLevel="dangerous"
                android:label="@string/read_attachment_label"
                android:description="@string/read_attachment_desc"/>
    <uses-permission android:name="com.fsck.k9.permission.READ_ATTACHMENT"/>
    <permission android:name="com.fsck.k9.permission.REMOTE_CONTROL"
                 android:permissionGroup="android.permission-group.MESSAGES"
                 android:protectionLevel="dangerous"
                 android:label="@string/remote_control_label"
                 android:description="@string/remote_control_desc"/>
    <uses-permission android:name="com.fsck.k9.permission.REMOTE_CONTROL"/>
    <permission android:name="com.fsck.k9.permission.READ_MESSAGES"
                android:permissionGroup="android.permission-group.MESSAGES"
                android:protectionLevel="normal"
                android:label="@string/read_messages_label"
                android:description="@string/read_messages_desc"/>
    <uses-permission android:name="com.fsck.k9.permission.READ_MESSAGES"/>
    <permission android:name="com.fsck.k9.permission.DELETE_MESSAGES"
                android:permissionGroup="android.permission-group.MESSAGES"
                android:protectionLevel="normal"
                android:label="@string/delete_messages_label"
                android:description="@string/read_messages_desc"/>
    <uses-permission android:name="com.fsck.k9.permission.DELETE_MESSAGES"/>
    <uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
    <application
        android:icon="@drawable/icon"
        android:label="@string/app_name"
        android:name="K9"
        android:allowTaskReparenting="false"
Jesse Vincent's avatar
 
Jesse Vincent committed
        >
        <meta-data android:name="android.app.default_searchable"
                   android:value=".activity.Search" />
        <activity
            android:name="com.fsck.k9.activity.Accounts"
            android:launchMode="singleTask"
            android:configChanges="locale"
            android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <data android:mimeType="application/x-k9settings" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
            </intent-filter>
Jesse Vincent's avatar
 
Jesse Vincent committed
        <activity
            android:name="com.fsck.k9.activity.setup.Prefs"
Jesse Vincent's avatar
 
Jesse Vincent committed
            android:label="@string/prefs_title"
            android:configChanges="locale"
            android:taskAffinity="com.fsck.k9.activity.setup.Prefs"
            android:launchMode="singleTask"
            android:excludeFromRecents="true"
Jesse Vincent's avatar
 
Jesse Vincent committed
            >
        </activity>
        <activity
            android:name="com.fsck.k9.activity.setup.FontSizeSettings"
            android:label="@string/font_size_settings_title"
            android:configChanges="locale"
            android:name="com.fsck.k9.activity.setup.AccountSetupBasics"
            android:label="@string/account_setup_basics_title"
            android:configChanges="locale"
            android:name="com.fsck.k9.activity.setup.AccountSetupAccountType"
            android:label="@string/account_setup_account_type_title"
            android:configChanges="locale"
            android:name="com.fsck.k9.activity.setup.AccountSetupIncoming"
            android:label="@string/account_setup_incoming_title"
            android:configChanges="locale"
        <activity
            android:name="com.fsck.k9.activity.setup.AccountSetupComposition"
            android:label="@string/account_settings_composition_title"
            android:configChanges="locale"
        </activity>
            android:name="com.fsck.k9.activity.setup.AccountSetupOutgoing"
            android:label="@string/account_setup_outgoing_title"
            android:configChanges="locale"
            android:name="com.fsck.k9.activity.setup.AccountSetupOptions"
            android:label="@string/account_setup_options_title"
            android:configChanges="locale"
            android:name="com.fsck.k9.activity.setup.AccountSetupNames"
            android:label="@string/account_setup_names_title"
            android:configChanges="locale"
            android:name="com.fsck.k9.activity.ChooseFolder"
            android:label="@string/choose_folder_title"
            android:configChanges="locale"
            android:noHistory="true"
Daniel Applebaum's avatar
Daniel Applebaum committed
        <activity
            android:name="com.fsck.k9.activity.ChooseIdentity"
Daniel Applebaum's avatar
Daniel Applebaum committed
            android:theme="@style/Theme.K9Dialog"
            android:label="@string/choose_identity_title"
            android:configChanges="locale"
Daniel Applebaum's avatar
Daniel Applebaum committed
            >
        </activity>
        <activity
            android:name="com.fsck.k9.activity.ChooseAccount"
            android:theme="@style/Theme.K9Dialog"
            android:label="@string/choose_account_title"
            >
        </activity>
Daniel Applebaum's avatar
Daniel Applebaum committed
        <activity
            android:name="com.fsck.k9.activity.ManageIdentities"
Daniel Applebaum's avatar
Daniel Applebaum committed
            android:label="@string/manage_identities_title"
            android:configChanges="locale"
Daniel Applebaum's avatar
Daniel Applebaum committed
            >
        </activity>
        <activity
            android:name="com.fsck.k9.activity.EditIdentity"
Daniel Applebaum's avatar
Daniel Applebaum committed
            android:label="@string/edit_identity_title"
            android:configChanges="locale"
Daniel Applebaum's avatar
Daniel Applebaum committed
            >
        </activity>
        <!-- XXX Note: this activity is hacked to ignore config changes,
             since it doesn't currently handle them correctly in code. -->
        <activity
            android:name="com.fsck.k9.activity.setup.AccountSetupCheckSettings"
            android:label="@string/account_setup_check_settings_title"
            android:configChanges="keyboardHidden|orientation|locale"
            android:name="com.fsck.k9.activity.setup.AccountSettings"
            android:label="@string/account_settings_title_fmt"
            android:configChanges="locale"
            android:name="com.fsck.k9.activity.setup.FolderSettings"
            android:label="@string/folder_settings_title"
            android:configChanges="locale"
            android:launchMode="singleTask"
            android:configChanges="locale"
            >
                <!-- This action is only to allow an entry point for launcher shortcuts -->
                <action android:name="android.intent.action.MAIN" />
Jesse Vincent's avatar
 
Jesse Vincent committed
        <activity
            android:launchMode="singleTask"
Jesse Vincent's avatar
 
Jesse Vincent committed
        </activity>
            android:name="com.fsck.k9.activity.MessageView"
            android:theme="@android:style/Theme.Light"
            android:configChanges="locale"
            >
Bao-Long Nguyen-Trong's avatar
Bao-Long Nguyen-Trong committed
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <data
                    android:scheme="email"
                    android:host="messages"
                />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            android:name="com.fsck.k9.activity.MessageCompose"
            android:label="@string/app_name"
            android:enabled="false"
            android:configChanges="locale"
            >
            <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.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
                <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.VIEW" />
                <data android:scheme="mailto" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
            </intent-filter>
        </activity>
        <!-- Search Activity - searchable -->
        <activity android:name="com.fsck.k9.activity.Search"
                  android:label="@string/search_action"
                  android:configChanges="locale"
            <intent-filter>
                <action android:name="android.intent.action.SEARCH" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <meta-data android:name="android.app.searchable"
                       android:resource="@xml/searchable" />
        </activity>
        <activity
            android:name="com.fsck.k9.activity.LauncherShortcuts"
            android:label="@string/shortcuts_title"
            android:configChanges="locale"
            >
            <intent-filter>
                <action android:name="android.intent.action.CREATE_SHORTCUT" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
Jesse Vincent's avatar
Jesse Vincent committed
            android:name="com.fsck.k9.activity.AccessibleEmailContentActivity"
        <receiver android:name="com.fsck.k9.service.BootReceiver"
              >
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.DEVICE_STORAGE_LOW" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.DEVICE_STORAGE_OK" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
            </intent-filter>
Daniel Applebaum's avatar
Daniel Applebaum committed
            <intent-filter>
                <action android:name="android.net.conn.BACKGROUND_DATA_SETTING_CHANGED" />
Daniel Applebaum's avatar
Daniel Applebaum committed
            </intent-filter>
            <intent-filter>
                <action android:name="com.android.sync.SYNC_CONN_STATUS_CHANGED" />
Daniel Applebaum's avatar
Daniel Applebaum committed
            </intent-filter>
              <intent-filter>
                <action android:name="com.fsck.k9.service.BroadcastReceiver.scheduleIntent"/>
Daniel Applebaum's avatar
Daniel Applebaum committed
            </intent-filter>
        <receiver android:name="com.fsck.k9.service.RemoteControlReceiver"
               android:enabled="true"
               android:permission="com.fsck.k9.permission.REMOTE_CONTROL"
               >
               <intent-filter>
                 <action android:name="com.fsck.k9.K9RemoteControl.set"/>

             </intent-filter>
             <intent-filter>
                <action android:name="com.fsck.k9.K9RemoteControl.requestAccounts"/>

             </intent-filter>
        <receiver android:name="com.fsck.k9.service.CoreReceiver"
              android:enabled="true"
              >
              <intent-filter>
                <action android:name="com.fsck.k9.service.CoreReceiver.wakeLockRelease"/>
            </intent-filter>
        </receiver>
Jesse Vincent's avatar
Jesse Vincent committed
        <receiver android:name="com.fsck.k9.service.StorageReceiver"
              android:enabled="true"
              >
            <intent-filter>
Jesse Vincent's avatar
Jesse Vincent committed
android.intent.action.MEDIA_MOUNTED

     * Broadcast Action:  External media is present and mounted at its mount point.
     * The path to the mount point for the removed media is contained in the Intent.mData field.
     * The Intent contains an extra with name "read-only" and Boolean value to indicate if the
     * media was mounted read only.

 -->
                <action android:name="android.intent.action.MEDIA_MOUNTED"/>
MEDIA_EJECT and MEDIA_UNMOUNTED are not defined here: they have to be dynamically registered
Jesse Vincent's avatar
Jesse Vincent committed
otherwise it would make K-9 start at the wrong time

 -->
                <data android:scheme="file"/>
            </intent-filter>
        </receiver>
            android:name="com.fsck.k9.service.MailService"
Daniel Applebaum's avatar
Daniel Applebaum committed
            android:enabled="true"
Daniel Applebaum's avatar
Daniel Applebaum committed
        <service
             android:name="com.fsck.k9.service.PushService"
Daniel Applebaum's avatar
Daniel Applebaum committed
             android:enabled="true"
             >
         </service>
         <service
             android:name="com.fsck.k9.service.PollService"
Daniel Applebaum's avatar
Daniel Applebaum committed
             android:enabled="true"
            >
         </service>
         <service
              android:name="com.fsck.k9.service.RemoteControlService"
              android:enabled="true"
              android:permission="com.fsck.k9.permission.REMOTE_CONTROL"
             >
          </service>
Daniel Applebaum's avatar
Daniel Applebaum committed
         <service
             android:name="com.fsck.k9.service.SleepService"
Daniel Applebaum's avatar
Daniel Applebaum committed
             android:enabled="true"
             >
         </service>
            android:name="com.fsck.k9.provider.AttachmentProvider"
            android:authorities="com.fsck.k9.attachmentprovider"
            android:multiprocess="true"
            android:grantUriPermissions="true"
            android:readPermission="com.fsck.k9.permission.READ_ATTACHMENT"
        <provider
            android:name="com.fsck.k9.provider.MessageProvider"
            android:authorities="com.fsck.k9.messageprovider"
            android:multiprocess="true"
            android:grantUriPermissions="true"
            android:readPermission="com.fsck.k9.permission.READ_MESSAGES"
            android:writePermission="com.fsck.k9.permission.DELETE_MESSAGES"
            />