Nagram/TMessagesProj/src/main/AndroidManifest.xml

382 lines
20 KiB
XML
Raw Normal View History

2013-10-25 15:19:00 +00:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2018-07-30 02:07:02 +00:00
xmlns:tools="http://schemas.android.com/tools"
package="org.telegram.messenger"
android:installLocation="auto">
2013-10-25 15:19:00 +00:00
<supports-screens android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
android:xlargeScreens="true"/>
<uses-feature android:glEsVersion="0x00020000" android:required="false"/>
2013-10-25 15:19:00 +00:00
<uses-feature android:name="android.hardware.telephony" android:required="false" />
2013-11-04 12:31:01 +00:00
<uses-feature android:name="android.hardware.wifi" android:required="false" />
2013-12-20 19:25:49 +00:00
<uses-feature android:name="android.hardware.screen.PORTRAIT" android:required="false" />
<uses-feature android:name="android.hardware.microphone" android:required="false" />
2016-05-25 21:49:47 +00:00
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera2" android:required="false" />
2013-10-25 15:19:00 +00:00
<uses-permission android:name="android.permission.INTERNET" />
2014-03-10 18:04:48 +00:00
<uses-permission android:name="android.permission.RECORD_AUDIO" />
2017-03-30 23:58:05 +00:00
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
2013-10-25 15:19:00 +00:00
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
<uses-permission android:name="android.permission.READ_PROFILE"/>
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/>
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
2015-10-29 17:10:07 +00:00
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
2016-05-25 21:49:47 +00:00
<uses-permission android:name="android.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"/>
2016-10-11 11:57:01 +00:00
<uses-permission android:name="android.permission.CAMERA" />
2017-03-30 23:58:05 +00:00
<uses-permission android:name="android.permission.BLUETOOTH" />
2018-07-30 02:07:02 +00:00
<uses-permission android:name="android.permission.MANAGE_OWN_CALLS"/>
2017-03-30 23:58:05 +00:00
<uses-permission android:name="com.sec.android.provider.badge.permission.READ"/>
<uses-permission android:name="com.sec.android.provider.badge.permission.WRITE"/>
<uses-permission android:name="com.htc.launcher.permission.READ_SETTINGS"/>
<uses-permission android:name="com.htc.launcher.permission.UPDATE_SHORTCUT"/>
<uses-permission android:name="com.sonyericsson.home.permission.BROADCAST_BADGE"/>
<uses-permission android:name="com.sonymobile.home.permission.PROVIDER_INSERT_BADGE"/>
<uses-permission android:name="com.anddoes.launcher.permission.UPDATE_COUNT"/>
<uses-permission android:name="com.majeur.launcher.permission.UPDATE_BADGE"/>
<uses-permission android:name="com.huawei.android.launcher.permission.CHANGE_BADGE"/>
<uses-permission android:name="com.huawei.android.launcher.permission.READ_SETTINGS"/>
<uses-permission android:name="com.huawei.android.launcher.permission.WRITE_SETTINGS"/>
<uses-permission android:name="android.permission.READ_APP_BADGE"/>
<uses-permission android:name="com.oppo.launcher.permission.READ_SETTINGS"/>
<uses-permission android:name="com.oppo.launcher.permission.WRITE_SETTINGS"/>
2018-07-30 02:07:02 +00:00
<uses-permission android:name="me.everything.badger.permission.BADGE_COUNT_READ"/>
<uses-permission android:name="me.everything.badger.permission.BADGE_COUNT_WRITE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace" />
2013-10-25 15:19:00 +00:00
<application
android:name=".ApplicationLoader"
android:allowBackup="false"
2015-02-27 19:57:58 +00:00
android:hardwareAccelerated="@bool/useHardwareAcceleration"
2013-10-25 15:19:00 +00:00
android:icon="@drawable/ic_launcher"
2017-07-08 16:32:04 +00:00
android:roundIcon="@drawable/ic_launcher"
android:largeHeap="true"
2015-12-09 18:27:52 +00:00
android:theme="@style/Theme.TMessages.Start"
2018-07-30 02:07:02 +00:00
android:manageSpaceActivity="org.telegram.ui.ExternalActionActivity"
android:supportsRtl="false"
tools:replace="android:supportsRtl">
2013-10-25 15:19:00 +00:00
<activity
android:name="org.telegram.ui.LaunchActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
2015-02-27 19:57:58 +00:00
android:hardwareAccelerated="@bool/useHardwareAcceleration"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustPan">
2013-10-25 15:19:00 +00:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
2013-10-25 15:19:00 +00:00
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="image/*"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="video/*"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="image/*"/>
</intent-filter>
2013-10-25 15:19:00 +00:00
<intent-filter>
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="text/plain"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="*/*"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="*/*"/>
</intent-filter>
2013-10-25 15:19:00 +00:00
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="vnd.android.cursor.item/vnd.org.telegram.messenger.android.profile"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="telegram.me" android:scheme="http" />
<data android:host="telegram.me" android:scheme="https" />
2016-03-16 12:26:32 +00:00
<data android:host="telegram.dog" android:scheme="http" />
<data android:host="telegram.dog" android:scheme="https" />
2017-07-08 16:32:04 +00:00
<data android:host="telesco.pe" android:scheme="http" />
<data android:host="telesco.pe" android:scheme="https" />
2017-03-30 23:58:05 +00:00
<data android:host="t.me" android:scheme="http" />
<data android:host="t.me" android:scheme="https" />
</intent-filter>
<intent-filter android:icon="@drawable/ic_launcher" android:priority="1">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="tg" />
</intent-filter>
2015-10-29 17:10:07 +00:00
<meta-data android:name="android.service.chooser.chooser_target_service" android:value=".TgChooserTargetService" />
2013-10-25 15:19:00 +00:00
</activity>
2016-10-11 11:57:01 +00:00
<activity
android:name="org.telegram.ui.ShareActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:hardwareAccelerated="@bool/useHardwareAcceleration"
android:windowSoftInputMode="adjustPan"
android:excludeFromRecents="true"
android:stateNotNeeded="true"
android:theme="@style/Theme.TMessages.Transparent">
<intent-filter android:icon="@drawable/ic_launcher" android:priority="1">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="tgb" />
</intent-filter>
</activity>
2015-12-09 18:27:52 +00:00
<activity
2018-07-30 02:07:02 +00:00
android:name="org.telegram.ui.ExternalActionActivity"
2015-12-09 18:27:52 +00:00
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:hardwareAccelerated="@bool/useHardwareAcceleration"
android:windowSoftInputMode="adjustPan">
2018-07-30 02:07:02 +00:00
<intent-filter android:icon="@drawable/ic_launcher">
<action android:name="org.telegram.passport.AUTHORIZE"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
2015-12-09 18:27:52 +00:00
</activity>
2013-10-25 15:19:00 +00:00
<activity
android:name="org.telegram.ui.IntroActivity"
android:launchMode="singleTask"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
</activity>
2016-05-25 21:49:47 +00:00
<activity
android:name="org.telegram.messenger.OpenChatReceiver"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:exported="true">
</activity>
<activity
android:name="org.telegram.ui.PopupNotificationActivity"
android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:excludeFromRecents="true"
android:launchMode="singleTask"
android:taskAffinity=""
android:theme="@style/Theme.TMessages.PopupNotification"
2016-10-11 11:57:01 +00:00
android:resizeableActivity="false"
android:windowSoftInputMode="adjustResize|stateHidden">
</activity>
2017-03-30 23:58:05 +00:00
<activity
android:name="org.telegram.ui.VoIPActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:excludeFromRecents="true"
2018-07-30 02:07:02 +00:00
android:windowSoftInputMode="adjustNothing"
2017-03-30 23:58:05 +00:00
android:taskAffinity="${applicationId}.voip">
</activity>
2018-07-30 02:07:02 +00:00
<activity
android:name="org.telegram.ui.VoIPGroupActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:excludeFromRecents="true"
android:windowSoftInputMode="adjustNothing"
android:taskAffinity="${applicationId}.voip">
</activity>
2017-03-30 23:58:05 +00:00
<activity android:name="org.telegram.ui.VoIPPermissionActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:taskAffinity="${applicationId}.voip"
android:excludeFromRecents="true"
android:theme="@style/Theme.TMessages.Transparent"/>
<activity android:name="org.telegram.ui.VoIPFeedbackActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:taskAffinity="${applicationId}.voip_feedback"
android:excludeFromRecents="true"
android:theme="@style/Theme.TMessages.TransparentWithAlerts"/>
2016-03-06 01:49:31 +00:00
<receiver
android:name=".AutoMessageHeardReceiver"
android:exported="false">
2015-05-21 21:27:27 +00:00
<intent-filter>
<action android:name="org.telegram.messenger.ACTION_MESSAGE_HEARD"/>
</intent-filter>
</receiver>
2016-03-06 01:49:31 +00:00
<receiver
android:name=".AutoMessageReplyReceiver"
android:exported="false">
2015-05-21 21:27:27 +00:00
<intent-filter>
<action android:name="org.telegram.messenger.ACTION_MESSAGE_REPLY"/>
</intent-filter>
</receiver>
2016-03-06 01:49:31 +00:00
<receiver android:name=".CallReceiver" >
<intent-filter>
<action android:name="android.intent.action.PHONE_STATE" />
</intent-filter>
</receiver>
2015-09-24 20:52:02 +00:00
<receiver android:name=".SmsListener">
2013-10-25 15:19:00 +00:00
<intent-filter>
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
2018-07-30 02:07:02 +00:00
<action android:name="android.provider.Telephony.NEW_OUTGOING_SMS" />
2013-10-25 15:19:00 +00:00
</intent-filter>
</receiver>
2015-09-24 20:52:02 +00:00
<service android:name=".AuthenticatorService" android:exported="true">
2013-10-25 15:19:00 +00:00
<intent-filter>
<action android:name="android.accounts.AccountAuthenticator"/>
</intent-filter>
<meta-data android:name="android.accounts.AccountAuthenticator"
android:resource="@xml/auth"/>
2013-10-25 15:19:00 +00:00
</service>
2015-09-24 20:52:02 +00:00
<service android:name=".ContactsSyncAdapterService" android:exported="true">
2013-10-25 15:19:00 +00:00
<intent-filter>
<action android:name="android.content.SyncAdapter" />
</intent-filter>
<meta-data android:name="android.content.SyncAdapter"
android:resource="@xml/sync_contacts" />
2013-10-25 15:19:00 +00:00
<meta-data android:name="android.provider.CONTACTS_STRUCTURE"
android:resource="@xml/contacts" />
2013-10-25 15:19:00 +00:00
</service>
2015-10-29 17:10:07 +00:00
<service
2015-11-26 21:04:02 +00:00
android:name="org.telegram.messenger.TgChooserTargetService"
2015-10-29 17:10:07 +00:00
android:label="@string/AppName"
android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
<intent-filter>
<action android:name="android.service.chooser.ChooserTargetService" />
</intent-filter>
</service>
2018-07-30 02:07:02 +00:00
<service android:name=".KeepAliveJob"
android:exported="false"
android:permission="android.permission.BIND_JOB_SERVICE"/>
2017-03-30 23:58:05 +00:00
<service android:name=".BringAppForegroundService" android:enabled="true"/>
2015-09-24 20:52:02 +00:00
<service android:name=".NotificationsService" android:enabled="true"/>
<service android:name=".NotificationRepeat" android:exported="false"/>
2015-12-09 18:27:52 +00:00
<service android:name=".ClearCacheService" android:exported="false"/>
2015-09-24 20:52:02 +00:00
<service android:name=".VideoEncodingService" android:enabled="true"/>
2017-12-08 17:35:59 +00:00
<service android:name=".LocationSharingService" android:enabled="true"/>
2017-03-30 23:58:05 +00:00
<service android:name=".voip.VoIPService" android:enabled="true"/>
2015-09-24 20:52:02 +00:00
<service android:name=".MusicPlayerService" android:exported="true" android:enabled="true"/>
2016-05-25 21:49:47 +00:00
<service android:name=".MusicBrowserService" android:exported="true">
<intent-filter>
<action android:name="android.media.browse.MediaBrowserService"/>
</intent-filter>
</service>
2017-07-08 16:32:04 +00:00
<service android:name=".WearDataLayerListenerService">
<intent-filter>
<!-- listeners receive events that match the action and data filters -->
<action android:name="com.google.android.gms.wearable.DATA_CHANGED" />
<action android:name="com.google.android.gms.wearable.MESSAGE_RECEIVED" />
<action android:name="com.google.android.gms.wearable.CAPABILITY_CHANGED" />
<action android:name="com.google.android.gms.wearable.CHANNEL_EVENT" />
<data android:scheme="wear" android:host="*" />
</intent-filter>
</service>
2018-07-30 02:07:02 +00:00
<service android:name=".voip.TelegramConnectionService" android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE">
<intent-filter>
<action android:name="android.telecom.ConnectionService" />
</intent-filter>
</service>
2015-07-22 18:56:37 +00:00
2018-07-30 02:07:02 +00:00
<receiver android:name=".MusicPlayerReceiver" >
2015-07-22 18:56:37 +00:00
<intent-filter>
<action android:name="org.telegram.android.musicplayer.close" />
<action android:name="org.telegram.android.musicplayer.pause" />
<action android:name="org.telegram.android.musicplayer.next" />
<action android:name="org.telegram.android.musicplayer.play" />
<action android:name="org.telegram.android.musicplayer.previous" />
<action android:name="android.intent.action.MEDIA_BUTTON" />
<action android:name="android.media.AUDIO_BECOMING_NOISY" />
</intent-filter>
</receiver>
2017-03-30 23:58:05 +00:00
<receiver android:name=".voip.VoIPMediaButtonReceiver">
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</receiver>
2015-09-24 20:52:02 +00:00
<receiver android:name=".AppStartReceiver" android:enabled="true">
<intent-filter>
<action android:name="org.telegram.start" />
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
2017-12-08 17:35:59 +00:00
<receiver android:name=".RefererReceiver" android:exported="true" android:permission="android.permission.INSTALL_PACKAGES">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
2015-09-24 20:52:02 +00:00
<receiver android:name=".WearReplyReceiver" android:enabled="true"/>
2014-10-04 15:56:09 +00:00
2017-12-08 17:35:59 +00:00
<receiver android:name=".StopLiveLocationReceiver" android:enabled="true"/>
2016-10-11 11:57:01 +00:00
<receiver android:name=".PopupReplyReceiver" android:enabled="true"/>
2018-07-30 02:07:02 +00:00
<receiver android:name=".NotificationCallbackReceiver" android:enabled="true" android:exported="false"/>
2016-04-22 13:49:00 +00:00
<receiver android:name=".ShareBroadcastReceiver" android:enabled="true"/>
2017-12-08 17:35:59 +00:00
<receiver android:name=".CustomTabsCopyReceiver" android:enabled="true"/>
<receiver android:name=".NotificationDismissReceiver" android:exported="false"/>
2017-12-08 17:35:59 +00:00
<receiver android:name=".voip.VoIPActionsReceiver" android:exported="false"/>
2016-10-11 11:57:01 +00:00
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
</provider>
<uses-library android:name="com.sec.android.app.multiwindow" android:required="false" />
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_W" android:value="632dp" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_H" android:value="598dp" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_W" android:value="632dp" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H" android:value="598dp" />
2018-07-30 02:07:02 +00:00
<!--<meta-data android:name="com.google.android.gms.wallet.api.enabled" android:value="true" />-->
2017-03-30 23:58:05 +00:00
2016-05-25 21:49:47 +00:00
<meta-data android:name="com.google.android.gms.car.notification.SmallIcon" android:resource="@drawable/ic_player" />
2015-05-21 21:27:27 +00:00
<meta-data android:name="com.google.android.gms.car.application" android:resource="@xml/automotive_app_desc" />
2017-07-08 16:32:04 +00:00
<meta-data android:name="com.google.android.gms.vision.DEPENDENCIES" android:value="face" />
<meta-data android:name="com.samsung.android.icon_container.has_icon_container" android:value="true"/>
<meta-data android:name="android.max_aspect" android:value="2.5" />
2013-10-25 15:19:00 +00:00
</application>
2013-12-20 19:25:49 +00:00
</manifest>