<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:tools="http://schemas.android.com/tools"
	package="com.zeapo.pwdstore"
	android:installLocation="auto">
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
	<uses-permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE"
		tools:ignore="ProtectedPermissions"/>
	<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />

    <application android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme"
        android:supportsRtl="true">
        <activity
            android:name=".PasswordStore"
            android:label="@string/app_name"
            android:configChanges="orientation|screenSize">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".git.GitActivity"
            android:parentActivityName=".PasswordStore">
            <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.zeapo.pwdstore.PasswordStore" />
        </activity>

        <activity
            android:name=".UserPreference"
            android:parentActivityName=".PasswordStore">
            <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.zeapo.pwdstore.PasswordStore" />
        </activity>

        <activity
            android:name=".SshKeyGen"
            android:parentActivityName=".PasswordStore">
            <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.zeapo.pwdstore.PasswordStore" />
        </activity>

        <service
            android:name=".autofill.AutofillService"
            android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
            <intent-filter>
                <action android:name="android.accessibilityservice.AccessibilityService" />
            </intent-filter>
            <meta-data android:name="android.accessibilityservice" android:resource="@xml/autofill_config" />
        </service>

        <activity
            android:name=".autofill.AutofillActivity"
            android:parentActivityName=".PasswordStore"
            android:documentLaunchMode="intoExisting"
            android:excludeFromRecents="true"
            tools:ignore="UnusedAttribute">
            <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.zeapo.pwdstore.PasswordStore" />
        </activity>

        <activity
            android:name=".autofill.AutofillPreferenceActivity"
            android:parentActivityName=".PasswordStore">
            <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.zeapo.pwdstore.PasswordStore" />
        </activity>

        <activity
            android:name="com.nononsenseapps.filepicker.FilePickerActivity"
            android:label="@string/app_name"
            android:theme="@style/FilePickerTheme">
            <intent-filter>
                <action android:name="android.intent.action.GET_CONTENT" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity android:name=".crypto.PgpActivity"
            android:parentActivityName=".PasswordStore"/>
        <activity android:name=".SelectFolderActivity" />
    </application>

</manifest>