anotherim/src/main/AndroidManifest.xml

395 lines
17 KiB
XML
Raw Normal View History

2014-10-22 16:38:44 +00:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2022-05-13 06:28:06 +00:00
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
2018-03-11 18:09:35 +00:00
<uses-feature
android:name="android.hardware.location"
android:required="false" />
<uses-feature
android:name="android.hardware.location.gps"
android:required="false" />
<uses-feature
android:name="android.hardware.location.network"
android:required="false" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
2020-04-13 10:02:34 +00:00
<uses-permission android:name="android.permission.BLUETOOTH" />
2020-04-07 12:22:12 +00:00
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
2020-04-19 08:12:33 +00:00
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<!-- New permissions required to run as foreground service on Android 14.
SYSTEM_EXEMPTED is used when the app is on the doze allow list. This is normal
and the expected default behaviour. The other two hijack RECORD_AUDIO and CAMERA if they
happen to be granted. -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SYSTEM_EXEMPTED" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_CAMERA" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" />
<!-- this foreground service type permission is exclusively used for import and export backup -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
<uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<uses-feature
android:name="android.hardware.camera.autofocus"
android:required="false" />
2018-03-14 07:21:49 +00:00
<uses-feature
android:name="android.hardware.microphone"
android:required="false" />
2022-02-22 16:24:03 +00:00
<queries>
2022-07-09 12:45:59 +00:00
<package android:name="org.sufficientlysecure.keychain" />
<package android:name="org.torproject.android" />
<intent>
2022-07-09 12:45:59 +00:00
<action android:name="eu.siacs.conversations.location.request" />
</intent>
<intent>
2022-07-09 12:45:59 +00:00
<action android:name="eu.siacs.conversations.location.show" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:mimeType="resource/folder" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
</intent>
2023-01-04 09:23:20 +00:00
<intent>
<action android:name="org.unifiedpush.android.connector.MESSAGE" />
2023-01-04 09:23:20 +00:00
</intent>
2022-02-22 16:24:03 +00:00
</queries>
2014-10-22 16:38:44 +00:00
<application
android:name=".Conversations"
2021-10-04 12:17:01 +00:00
android:allowBackup="true"
android:appCategory="social"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_content"
2020-04-19 08:12:33 +00:00
android:hardwareAccelerated="true"
2018-09-05 20:24:58 +00:00
android:icon="@mipmap/new_launcher"
2014-10-22 16:38:44 +00:00
android:label="@string/app_name"
android:largeHeap="true"
android:localeConfig="@xml/locales_config"
android:networkSecurityConfig="@xml/network_security_configuration"
2022-02-22 15:05:24 +00:00
android:preserveLegacyExternalStorage="true"
2022-07-09 12:45:59 +00:00
android:requestLegacyExternalStorage="true"
android:theme="@style/Theme.Conversations3"
tools:targetApi="tiramisu">
<meta-data
android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc" />
<!-- The warning that systemExempted requires alarm permission is incorrect because doze white list is sufficient -->
<service
android:name=".services.XmppConnectionService"
android:exported="false"
android:foregroundServiceType="specialUse|systemExempted|microphone|camera"
tools:ignore="ForegroundServicePermission">
<property
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
android:value="xmpp-im" />
</service>
<service
android:name=".services.ExportBackupService"
android:exported="false"
android:foregroundServiceType="dataSync" />
<service
android:name=".services.ImportBackupService"
android:exported="false"
android:foregroundServiceType="dataSync" />
<service
android:name=".services.ContactChooserTargetService"
android:exported="true"
android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
<intent-filter>
<action android:name="android.service.chooser.ChooserTargetService" />
</intent-filter>
</service>
2014-10-22 16:38:44 +00:00
<service
android:name=".services.CallIntegrationConnectionService"
android:exported="true"
android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE">
<intent-filter>
<action android:name="android.telecom.ConnectionService" />
</intent-filter>
</service>
2022-07-10 10:34:02 +00:00
<receiver
android:name=".services.EventReceiver"
android:exported="false">
2014-10-22 16:38:44 +00:00
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
<action
android:name="android.net.conn.CONNECTIVITY_CHANGE"
tools:ignore="BatteryLife" />
<action android:name="android.intent.action.ACTION_SHUTDOWN" />
<action android:name="android.media.RINGER_MODE_CHANGED" />
2014-10-22 16:38:44 +00:00
</intent-filter>
</receiver>
2023-01-04 09:23:20 +00:00
<receiver
android:name=".services.UnifiedPushDistributor"
android:enabled="false"
android:exported="true">
<intent-filter>
<action android:name="org.unifiedpush.android.distributor.REGISTER" />
<action android:name="org.unifiedpush.android.distributor.UNREGISTER" />
<action android:name="org.unifiedpush.android.distributor.feature.BYTES_MESSAGE" />
<action android:name="org.unifiedpush.android.distributor.feature.MESSENGER" />
<action android:name="org.unifiedpush.android.distributor.feature.APP_VALIDATION" />
2023-01-04 09:23:20 +00:00
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
<data android:scheme="package" />
2023-01-04 09:23:20 +00:00
</intent-filter>
</receiver>
2018-03-11 18:09:35 +00:00
<activity
android:name=".ui.ShareLocationActivity"
android:label="@string/title_activity_share_location" />
2018-04-25 18:25:28 +00:00
<activity
android:name=".ui.SearchActivity"
android:label="@string/search_messages" />
2018-04-22 18:31:37 +00:00
<activity
android:name=".ui.RecordingActivity"
android:configChanges="orientation|screenSize"
android:theme="@style/Theme.Conversations3.Dialog" />
2018-03-11 18:09:35 +00:00
<activity
android:name=".ui.ShowLocationActivity"
android:label="@string/title_activity_show_location" />
2014-10-22 16:38:44 +00:00
<activity
android:name=".ui.ConversationActivity"
2022-07-10 10:34:02 +00:00
android:exported="true"
android:theme="@style/Theme.Conversations3.SplashScreen">
2014-10-22 16:38:44 +00:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
2014-10-22 16:38:44 +00:00
</intent-filter>
</activity>
2018-03-07 18:05:28 +00:00
<activity
android:name=".ui.ConversationsActivity"
android:launchMode="singleTask"
android:minWidth="300dp"
android:minHeight="300dp"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ui.ScanActivity"
android:screenOrientation="portrait"
android:theme="@style/Theme.Conversations3.FullScreen"
android:windowSoftInputMode="stateAlwaysHidden" />
2014-10-22 16:38:44 +00:00
<activity
2017-12-07 20:59:13 +00:00
android:name=".ui.UriHandlerActivity"
android:exported="true">
2014-10-22 16:38:44 +00:00
<intent-filter>
<action android:name="android.intent.action.VIEW" />
2014-10-22 16:38:44 +00:00
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
2014-10-22 16:38:44 +00:00
<data android:scheme="xmpp" />
2014-10-22 16:38:44 +00:00
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" />
<data android:host="conversations.im" />
<data android:pathPrefix="/i/" />
<data android:pathPrefix="/j/" />
</intent-filter>
2017-12-07 20:59:13 +00:00
<intent-filter>
<action android:name="android.intent.action.SENDTO" />
<category android:name="android.intent.category.DEFAULT" />
2017-12-07 20:59:13 +00:00
<data android:scheme="imto" />
<data android:host="jabber" />
2017-12-07 20:59:13 +00:00
</intent-filter>
2021-10-03 15:01:32 +00:00
<intent-filter>
<action android:name="android.intent.action.SENDTO" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="imto" />
<data android:host="xmpp" />
</intent-filter>
</activity>
<activity
android:name=".ui.StartConversationActivity"
2022-07-10 10:34:02 +00:00
android:exported="true"
android:label="@string/title_activity_new_chat"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
</intent-filter>
2014-10-22 16:38:44 +00:00
</activity>
<activity
2024-04-07 18:05:43 +00:00
android:name=".ui.activity.SettingsActivity"
2022-07-10 10:34:02 +00:00
android:exported="true"
android:label="@string/title_activity_settings">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.NOTIFICATION_PREFERENCES" />
</intent-filter>
</activity>
2014-10-22 16:38:44 +00:00
<activity
2014-11-04 17:08:30 +00:00
android:name=".ui.ChooseContactActivity"
2024-04-07 18:05:43 +00:00
android:label="@string/title_activity_choose_contact" />
<activity
android:name=".ui.BlocklistActivity"
2024-04-07 18:05:43 +00:00
android:label="@string/title_activity_block_list" />
<activity
android:name=".ui.ChangePasswordActivity"
android:label="@string/change_password_on_server" />
<activity
android:name=".ui.ChooseAccountForProfilePictureActivity"
android:enabled="false"
2022-07-10 10:34:02 +00:00
android:exported="true"
android:label="@string/choose_account">
<intent-filter android:label="@string/set_profile_picture">
<action android:name="android.intent.action.ATTACH_DATA" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
</activity>
2017-12-07 15:45:20 +00:00
<activity
android:name=".ui.ShareViaAccountActivity"
android:label="@string/title_activity_share_via_account"
android:launchMode="singleTop" />
2014-10-22 16:38:44 +00:00
<activity
2014-11-04 17:08:30 +00:00
android:name=".ui.EditAccountActivity"
android:exported="false"
android:launchMode="singleTop"
android:windowSoftInputMode="stateHidden|adjustResize" />
2014-10-22 16:38:44 +00:00
<activity
2014-11-04 17:08:30 +00:00
android:name=".ui.ConferenceDetailsActivity"
android:label="@string/action_muc_details"
android:windowSoftInputMode="stateHidden" />
2014-10-22 16:38:44 +00:00
<activity
2014-11-04 17:08:30 +00:00
android:name=".ui.ContactDetailsActivity"
android:windowSoftInputMode="stateHidden" />
2014-10-22 16:38:44 +00:00
<activity
2014-11-04 17:08:30 +00:00
android:name=".ui.PublishProfilePictureActivity"
2014-10-22 16:38:44 +00:00
android:label="@string/mgmt_account_publish_avatar"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ui.PublishGroupChatProfilePictureActivity"
android:label="@string/group_chat_avatar" />
2014-10-22 16:38:44 +00:00
<activity
2014-11-04 17:08:30 +00:00
android:name=".ui.ShareWithActivity"
2022-07-10 10:34:02 +00:00
android:exported="true"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.SEND" />
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
2014-10-22 16:38:44 +00:00
<intent-filter>
<action android:name="android.intent.action.SEND" />
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" />
</intent-filter>
<!-- the value here needs to be the full class name; independent of the configured applicationId -->
<meta-data
android:name="android.service.chooser.chooser_target_service"
android:value="eu.siacs.conversations.services.ContactChooserTargetService" />
2014-10-22 16:38:44 +00:00
</activity>
<activity
android:name=".ui.TrustKeysActivity"
2015-08-08 11:29:21 +00:00
android:label="@string/trust_omemo_fingerprints"
android:windowSoftInputMode="stateAlwaysHidden" />
2014-11-04 17:08:30 +00:00
<activity
android:name=".ui.AboutActivity"
android:parentActivityName=".ui.SettingsActivity">
2014-11-04 17:08:30 +00:00
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="eu.siacs.conversations.ui.SettingsActivity" />
2014-11-04 17:08:30 +00:00
</activity>
<activity
2023-06-23 16:00:58 +00:00
android:name="com.canhub.cropper.CropImageActivity"
android:theme="@style/Base.Theme.AppCompat" />
<activity android:name=".ui.MemorizingActivity" />
<activity
android:name=".ui.MediaBrowserActivity"
2024-04-07 18:05:43 +00:00
android:label="@string/media_browser" />
2018-09-15 19:10:17 +00:00
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.files"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
2016-11-22 21:31:46 +00:00
<provider
android:name=".services.BarcodeProvider"
android:authorities="${applicationId}.barcodes"
2016-11-22 21:31:46 +00:00
android:exported="false"
android:grantUriPermissions="true" />
<activity
android:name=".ui.ShortcutActivity"
2022-07-10 10:34:02 +00:00
android:exported="true"
android:label="@string/contact">
<intent-filter>
<action android:name="android.intent.action.CREATE_SHORTCUT" />
</intent-filter>
</activity>
<activity
android:name=".ui.MucUsersActivity"
2024-04-07 18:05:43 +00:00
android:label="@string/group_chat_members" />
<activity
android:name=".ui.ChannelDiscoveryActivity"
2024-04-07 18:05:43 +00:00
android:label="@string/discover_channels" />
2020-04-19 08:12:33 +00:00
<activity
android:name=".ui.RtpSessionActivity"
android:autoRemoveFromRecents="true"
android:launchMode="singleInstance"
android:supportsPictureInPicture="true" />
2014-10-22 16:38:44 +00:00
</application>
</manifest>