conversations-classic/src/main/AndroidManifest.xml

282 lines
12 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"
xmlns:tools="http://schemas.android.com/tools"
package="eu.siacs.conversations">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.READ_PROFILE"/>
<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.FOREGROUND_SERVICE"/>
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"/>
2018-04-22 18:31:37 +00:00
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission
android:name="android.permission.READ_PHONE_STATE"
tools:node="remove"/>
<uses-sdk tools:overrideLibrary="net.ypresto.androidtranscoder"/>
<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"/>
2014-10-22 16:38:44 +00:00
<application
android:allowBackup="true"
android:appCategory="social"
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:networkSecurityConfig="@xml/network_security_configuration"
2014-11-03 19:00:20 +00:00
android:theme="@style/ConversationsTheme"
2018-03-14 03:01:28 +00:00
tools:replace="android:label"
tools:targetApi="o">
<meta-data
android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc"/>
<service android:name=".services.XmppConnectionService"/>
2014-10-22 16:38:44 +00:00
<receiver android:name=".services.EventReceiver">
2014-10-22 16:38:44 +00:00
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
<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>
2018-03-11 18:09:35 +00:00
<activity
android:name=".ui.ShareLocationActivity"
2018-04-22 18:31:37 +00:00
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/ConversationsTheme.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"
2018-03-07 18:05:28 +00:00
android:theme="@style/SplashTheme">
2014-10-22 16:38:44 +00:00
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
2014-10-22 16:38:44 +00:00
<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:label="@string/app_name"
android:launchMode="singleTask"
android:minHeight="300dp"
android:minWidth="300dp"
android:windowSoftInputMode="stateHidden"/>
<activity
android:name=".ui.ScanActivity"
android:screenOrientation="portrait"
android:theme="@style/ConversationsTheme.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:label="@string/app_name">
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>
</activity>
<activity
android:name=".ui.StartConversationActivity"
android:label="@string/title_activity_start_conversation"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
</intent-filter>
2014-10-22 16:38:44 +00:00
</activity>
<activity
2014-11-04 17:08:30 +00:00
android:name=".ui.SettingsActivity"
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"
android:label="@string/title_activity_choose_contact"/>
<activity
android:name=".ui.BlocklistActivity"
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:label="@string/choose_account"
android:enabled="false">
<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: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"
android:label="@string/app_name"
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>
<meta-data
android:name="android.service.chooser.chooser_target_service"
android:value=".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"/>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.PREFERENCE"/>
</intent-filter>
2014-11-04 17:08:30 +00:00
</activity>
<activity android:name="com.theartofdev.edmodo.cropper.CropImageActivity"
android:theme="@style/Base.Theme.AppCompat"/>
<activity android:name=".ui.MemorizingActivity"/>
2018-09-15 19:10:17 +00:00
<activity android:name=".ui.MediaBrowserActivity"
android:label="@string/media_browser"/>
<service android:name=".services.ExportLogsService"/>
<service
android:name=".services.ContactChooserTargetService"
android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
<intent-filter>
<action android:name="android.service.chooser.ChooserTargetService"/>
</intent-filter>
</service>
<provider
android:name="android.support.v4.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"
android:label="@string/contact">
<intent-filter>
<action android:name="android.intent.action.CREATE_SHORTCUT"/>
</intent-filter>
</activity>
2014-10-22 16:38:44 +00:00
</application>
</manifest>