aboutsummaryrefslogtreecommitdiff
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
  ~ SPDX-License-Identifier: GPL-3.0-only
  -->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:installLocation="auto">

  <uses-permission android:name="android.permission.INTERNET" />
  <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
  <!-- Required by Autofill to verify the certificate hashes of packages -->
  <uses-permission
    android:name="android.permission.QUERY_ALL_PACKAGES"
    tools:ignore="QueryAllPackagesPermission" />

  <uses-feature
    android:name="android.hardware.touchscreen"
    android:required="false" />
  <uses-feature
    android:name="android.hardware.camera.any"
    android:required="false" />

  <application
    android:name=".Application"
    android:allowBackup="false"
    android:dataExtractionRules="@xml/data_extraction_rules"
    android:fullBackupContent="@xml/backup_content"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:supportsRtl="true"
    android:theme="@style/AppThemeM3"
    tools:ignore="GoogleAppIndexingWarning"
    tools:targetApi="s">

    <activity
      android:name=".ui.passwords.PasswordStore"
      android:configChanges="orientation|screenSize"
      android:exported="false" />

    <activity
      android:name=".ui.onboarding.activity.OnboardingActivity"
      android:configChanges="orientation|screenSize"
      android:exported="false" />

    <activity
      android:name=".ui.proxy.ProxySelectorActivity"
      android:exported="false"
      android:label="@string/activity_proxy_label"
      android:windowSoftInputMode="adjustResize" />

    <activity
      android:name=".ui.crypto.DecryptActivity"
      android:exported="true" />

    <activity
      android:name=".ui.main.LaunchActivity"
      android:configChanges="orientation|screenSize"
      android:exported="true"
      android:theme="@style/NoBackgroundThemeM3">
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
    </activity>

    <activity
      android:name="com.journeyapps.barcodescanner.CaptureActivity"
      android:clearTaskOnLaunch="true"
      android:exported="false"
      android:stateNotNeeded="true"
      android:theme="@style/zxing_CaptureTheme"
      android:windowSoftInputMode="stateAlwaysHidden"
      tools:node="replace" />

    <activity
      android:name=".ui.git.config.GitServerConfigActivity"
      android:exported="false"
      android:label="@string/title_activity_git_clone"
      android:windowSoftInputMode="adjustResize" />

    <activity
      android:name=".ui.git.config.GitConfigActivity"
      android:exported="false"
      android:label="@string/title_activity_git_config"
      android:windowSoftInputMode="adjustResize" />

    <activity
      android:name=".ui.git.log.GitLogActivity"
      android:exported="false"
      android:label="@string/title_activity_git_log" />

    <activity
      android:name=".ui.settings.SettingsActivity"
      android:exported="false"
      android:label="@string/action_settings"
      android:parentActivityName=".ui.passwords.PasswordStore" />

    <activity
      android:name=".ui.crypto.PasswordCreationActivity"
      android:exported="false"
      android:label="@string/new_password_title"
      android:windowSoftInputMode="adjustResize" />

    <service
      android:name=".util.services.ClipboardService"
      android:exported="false"
      android:foregroundServiceType="shortService"
      android:process=":clipboard_service_process" />
    <service
      android:name=".util.services.PasswordExportService"
      android:exported="false"
      android:foregroundServiceType="shortService"
      android:process=":password_export_service_process" />
    <service
      android:name=".util.services.OreoAutofillService"
      android:exported="true"
      android:permission="android.permission.BIND_AUTOFILL_SERVICE">
      <intent-filter>
        <action android:name="android.service.autofill.AutofillService" />
      </intent-filter>
      <meta-data
        android:name="android.autofill"
        android:resource="@xml/oreo_autofill_service" />
    </service>

    <activity
      android:name=".ui.folderselect.SelectFolderActivity"
      android:exported="false" />
    <activity
      android:name=".ui.sshkeygen.SshKeyImportActivity"
      android:exported="false"
      android:theme="@style/NoBackgroundThemeM3"
      android:windowSoftInputMode="adjustResize" />
    <activity
      android:name=".ui.sshkeygen.SshKeyGenActivity"
      android:exported="false"
      android:label="@string/pref_ssh_keygen_title"
      android:windowSoftInputMode="adjustResize" />
    <activity
      android:name=".ui.autofill.AutofillDecryptActivity"
      android:exported="false"
      android:theme="@style/NoBackgroundThemeM3" />
    <activity
      android:name=".ui.autofill.AutofillFilterView"
      android:configChanges="orientation|keyboardHidden"
      android:exported="false"
      android:theme="@style/DialogLikeThemeM3"
      android:windowSoftInputMode="adjustNothing" />
    <activity
      android:name=".ui.autofill.AutofillSaveActivity"
      android:exported="false"
      android:theme="@style/NoBackgroundThemeM3" />
    <activity
      android:name=".autofill.oreo.ui.AutofillSmsActivity"
      android:configChanges="orientation"
      android:exported="false"
      android:theme="@style/DialogLikeThemeM3"
      android:windowSoftInputMode="adjustNothing" />
    <activity
      android:name=".ui.autofill.AutofillPublisherChangedActivity"
      android:configChanges="orientation|keyboardHidden"
      android:exported="false"
      android:theme="@style/DialogLikeThemeM3"
      android:windowSoftInputMode="adjustNothing" />
    <activity
      android:name=".ui.pgp.PGPKeyImportActivity"
      android:theme="@style/NoBackgroundThemeM3" />
    <activity
      android:name=".ui.pgp.PGPKeyListActivity"
      android:exported="false"
      android:label="@string/activity_label_pgp_key_manager"
      android:parentActivityName=".ui.settings.SettingsActivity" />
  </application>

  <queries>
    <package android:name="org.sufficientlysecure.keychain" />

    <intent>
      <action android:name="android.intent.action.SEND" />
      <data android:mimeType="text/plain" />
    </intent>
    <intent>
      <action android:name="android.intent.action.VIEW" />
      <category android:name="android.intent.category.BROWSABLE" />
      <data android:scheme="https" />
    </intent>
  </queries>

</manifest>