383 lines
20 KiB
XML
383 lines
20 KiB
XML
<?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="org.telegram.messenger"
|
|
android:installLocation="auto">
|
|
|
|
<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"/>
|
|
<uses-feature android:name="android.hardware.telephony" android:required="false" />
|
|
<uses-feature android:name="android.hardware.wifi" android:required="false" />
|
|
<uses-feature android:name="android.hardware.screen.PORTRAIT" android:required="false" />
|
|
<uses-feature android:name="android.hardware.microphone" android:required="false" />
|
|
<uses-feature android:name="android.hardware.camera" android:required="false" />
|
|
<uses-feature android:name="android.hardware.camera2" android:required="false" />
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
|
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
|
<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" />
|
|
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
|
|
<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"/>
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
<uses-permission android:name="android.permission.BLUETOOTH" />
|
|
<uses-permission android:name="android.permission.MANAGE_OWN_CALLS"/>
|
|
|
|
<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"/>
|
|
<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" />
|
|
|
|
<application
|
|
android:name=".ApplicationLoader"
|
|
android:allowBackup="false"
|
|
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
|
android:icon="@drawable/ic_launcher"
|
|
android:roundIcon="@drawable/ic_launcher"
|
|
android:largeHeap="true"
|
|
android:theme="@style/Theme.TMessages.Start"
|
|
android:manageSpaceActivity="org.telegram.ui.ExternalActionActivity"
|
|
android:supportsRtl="false"
|
|
tools:replace="android:supportsRtl">
|
|
|
|
<activity
|
|
android:name="org.telegram.ui.LaunchActivity"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
|
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
|
android:launchMode="singleTask"
|
|
android:windowSoftInputMode="adjustPan">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
|
|
</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>
|
|
<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>
|
|
<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" />
|
|
<data android:host="telegram.dog" android:scheme="http" />
|
|
<data android:host="telegram.dog" android:scheme="https" />
|
|
<data android:host="telesco.pe" android:scheme="http" />
|
|
<data android:host="telesco.pe" android:scheme="https" />
|
|
<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>
|
|
<meta-data android:name="android.service.chooser.chooser_target_service" android:value=".TgChooserTargetService" />
|
|
</activity>
|
|
<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>
|
|
<activity
|
|
android:name="org.telegram.ui.ExternalActionActivity"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
|
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
|
android:windowSoftInputMode="adjustPan">
|
|
<intent-filter android:icon="@drawable/ic_launcher">
|
|
<action android:name="org.telegram.passport.AUTHORIZE"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name="org.telegram.ui.IntroActivity"
|
|
android:launchMode="singleTask"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
|
|
</activity>
|
|
<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"
|
|
android:resizeableActivity="false"
|
|
android:windowSoftInputMode="adjustResize|stateHidden">
|
|
</activity>
|
|
<activity
|
|
android:name="org.telegram.ui.VoIPActivity"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
|
android:excludeFromRecents="true"
|
|
android:windowSoftInputMode="adjustNothing"
|
|
android:taskAffinity="${applicationId}.voip">
|
|
</activity>
|
|
<activity
|
|
android:name="org.telegram.ui.VoIPGroupActivity"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
|
android:excludeFromRecents="true"
|
|
android:windowSoftInputMode="adjustNothing"
|
|
android:taskAffinity="${applicationId}.voip">
|
|
</activity>
|
|
<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"/>
|
|
|
|
<receiver
|
|
android:name=".AutoMessageHeardReceiver"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="org.telegram.messenger.ACTION_MESSAGE_HEARD"/>
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<receiver
|
|
android:name=".AutoMessageReplyReceiver"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="org.telegram.messenger.ACTION_MESSAGE_REPLY"/>
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<receiver android:name=".CallReceiver">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.PHONE_STATE"/>
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<receiver android:name=".SmsListener">
|
|
<intent-filter>
|
|
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
|
|
<action android:name="android.provider.Telephony.NEW_OUTGOING_SMS" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<service android:name=".AuthenticatorService" android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.accounts.AccountAuthenticator"/>
|
|
</intent-filter>
|
|
<meta-data android:name="android.accounts.AccountAuthenticator"
|
|
android:resource="@xml/auth"/>
|
|
</service>
|
|
|
|
<service android:name=".ContactsSyncAdapterService" android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.content.SyncAdapter" />
|
|
</intent-filter>
|
|
<meta-data android:name="android.content.SyncAdapter"
|
|
android:resource="@xml/sync_contacts" />
|
|
<meta-data android:name="android.provider.CONTACTS_STRUCTURE"
|
|
android:resource="@xml/contacts" />
|
|
</service>
|
|
|
|
<service
|
|
android:name="org.telegram.messenger.TgChooserTargetService"
|
|
android:label="@string/AppName"
|
|
android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
|
|
<intent-filter>
|
|
<action android:name="android.service.chooser.ChooserTargetService" />
|
|
</intent-filter>
|
|
</service>
|
|
|
|
<service android:name=".KeepAliveJob"
|
|
android:exported="false"
|
|
android:permission="android.permission.BIND_JOB_SERVICE"/>
|
|
<service android:name=".BringAppForegroundService" android:enabled="true"/>
|
|
<service android:name=".NotificationsService" android:enabled="true"/>
|
|
<service android:name=".NotificationRepeat" android:exported="false"/>
|
|
<service android:name=".ClearCacheService" android:exported="false"/>
|
|
<service android:name=".VideoEncodingService" android:enabled="true"/>
|
|
<service android:name=".LocationSharingService" android:enabled="true"/>
|
|
<service android:name=".voip.VoIPService" android:enabled="true"/>
|
|
<service android:name=".MusicPlayerService" android:exported="true" android:enabled="true"/>
|
|
<service android:name=".MusicBrowserService" android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.media.browse.MediaBrowserService"/>
|
|
</intent-filter>
|
|
</service>
|
|
<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>
|
|
<service android:name=".voip.TelegramConnectionService" android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE">
|
|
<intent-filter>
|
|
<action android:name="android.telecom.ConnectionService" />
|
|
</intent-filter>
|
|
</service>
|
|
|
|
<receiver android:name=".MusicPlayerReceiver" >
|
|
<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>
|
|
<receiver android:name=".voip.VoIPMediaButtonReceiver">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MEDIA_BUTTON" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<receiver android:name=".WearReplyReceiver" android:enabled="true"/>
|
|
|
|
<receiver android:name=".StopLiveLocationReceiver" android:enabled="true"/>
|
|
|
|
<receiver android:name=".PopupReplyReceiver" android:enabled="true"/>
|
|
|
|
<receiver android:name=".NotificationCallbackReceiver" android:enabled="true" android:exported="false"/>
|
|
|
|
<receiver android:name=".ShareBroadcastReceiver" android:enabled="true"/>
|
|
|
|
<receiver android:name=".CustomTabsCopyReceiver" android:enabled="true"/>
|
|
|
|
<receiver android:name=".NotificationDismissReceiver" android:exported="false"/>
|
|
|
|
<receiver android:name=".voip.VoIPActionsReceiver" android:exported="false"/>
|
|
|
|
<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" />
|
|
|
|
<!--<meta-data android:name="com.google.android.gms.wallet.api.enabled" android:value="true" />-->
|
|
|
|
<meta-data android:name="com.google.android.gms.car.notification.SmallIcon" android:resource="@drawable/ic_player" />
|
|
<meta-data android:name="com.google.android.gms.car.application" android:resource="@xml/automotive_app_desc" />
|
|
|
|
<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" />
|
|
|
|
</application>
|
|
|
|
</manifest>
|