524 lines
23 KiB
XML
524 lines
23 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">
|
|
|
|
<uses-sdk tools:overrideLibrary="io.nekohasekai.ss_rust,io.nekohasekai.ssr_libev" />
|
|
|
|
<supports-screens
|
|
android:anyDensity="true"
|
|
android:largeScreens="true"
|
|
android:normalScreens="true"
|
|
android:resizeable="true"
|
|
android:smallScreens="true"
|
|
android:xlargeScreens="true" />
|
|
|
|
<uses-feature
|
|
android:name="android.hardware.location.gps"
|
|
android:required="false" />
|
|
<uses-feature
|
|
android:name="android.hardware.location.network"
|
|
android:required="false" />
|
|
<uses-feature
|
|
android:name="android.hardware.location"
|
|
android:required="false" />
|
|
<uses-feature
|
|
android:name="android.hardware.LOCATION"
|
|
android:required="false" />
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
|
|
<permission
|
|
android:name="${applicationId}.permission.MAPS_RECEIVE"
|
|
android:protectionLevel="signature" />
|
|
|
|
<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.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.USE_BIOMETRIC" />
|
|
<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.REQUEST_INSTALL_PACKAGES" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
<application
|
|
android:name="org.telegram.messenger.ApplicationLoader"
|
|
android:allowBackup="false"
|
|
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/NekoX"
|
|
android:largeHeap="true"
|
|
android:extractNativeLibs="true"
|
|
android:manageSpaceActivity="org.telegram.ui.ExternalActionActivity"
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
|
android:roundIcon="@mipmap/ic_launcher"
|
|
android:supportsRtl="false"
|
|
android:theme="@style/Theme.TMessages.Start"
|
|
tools:replace="android:supportsRtl">
|
|
|
|
<activity
|
|
android:name="org.telegram.ui.LaunchActivity"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
|
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="t.me"
|
|
android:scheme="http" />
|
|
<data
|
|
android:host="t.me"
|
|
android:scheme="https" />
|
|
</intent-filter>
|
|
<intent-filter
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:priority="1"
|
|
android:roundIcon="@mipmap/ic_launcher">
|
|
<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" />
|
|
<data android:scheme="vmess" />
|
|
<data android:scheme="vmess1" />
|
|
<data android:scheme="ss" />
|
|
<data android:scheme="ssr" />
|
|
</intent-filter>
|
|
<intent-filter
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:priority="1"
|
|
android:roundIcon="@mipmap/ic_launcher">
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:scheme="ton" />
|
|
</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|uiMode"
|
|
android:excludeFromRecents="true"
|
|
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
|
android:stateNotNeeded="true"
|
|
android:theme="@style/Theme.TMessages.Transparent"
|
|
android:windowSoftInputMode="adjustPan">
|
|
<intent-filter
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:priority="1"
|
|
android:roundIcon="@mipmap/ic_launcher">
|
|
<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|uiMode"
|
|
android:hardwareAccelerated="@bool/useHardwareAcceleration"
|
|
android:windowSoftInputMode="adjustPan">
|
|
<intent-filter
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:roundIcon="@mipmap/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:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
|
android:launchMode="singleTask"></activity>
|
|
<activity
|
|
android:name="org.telegram.messenger.OpenChatReceiver"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
|
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:resizeableActivity="false"
|
|
android:taskAffinity=""
|
|
android:theme="@style/Theme.TMessages.PopupNotification"
|
|
android:windowSoftInputMode="adjustResize|stateHidden"></activity>
|
|
<activity
|
|
android:name="org.telegram.ui.VoIPActivity"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
|
android:excludeFromRecents="true"
|
|
android:taskAffinity="${applicationId}.voip"
|
|
android:windowSoftInputMode="adjustNothing"></activity>
|
|
<activity
|
|
android:name="org.telegram.ui.VoIPGroupActivity"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
|
android:excludeFromRecents="true"
|
|
android:taskAffinity="${applicationId}.voip"
|
|
android:windowSoftInputMode="adjustNothing"></activity>
|
|
<activity
|
|
android:name="org.telegram.ui.VoIPPermissionActivity"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
|
android:excludeFromRecents="true"
|
|
android:taskAffinity="${applicationId}.voip"
|
|
android:theme="@style/Theme.TMessages.Transparent" />
|
|
<activity
|
|
android:name="org.telegram.ui.VoIPFeedbackActivity"
|
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
|
android:excludeFromRecents="true"
|
|
android:taskAffinity="${applicationId}.voip_feedback"
|
|
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>
|
|
|
|
<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/Nekogram"
|
|
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="tw.nekomimi.nekogram.NekoXPushService"
|
|
android:enabled="true"
|
|
android:label="@string/NekoXPushService"
|
|
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
|
|
<intent-filter>
|
|
<action android:name="android.service.notification.NotificationListenerService" />
|
|
</intent-filter>
|
|
</service>
|
|
<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:enabled="true"
|
|
android:exported="true" />
|
|
<service
|
|
android:name=".MusicBrowserService"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.media.browse.MediaBrowserService" />
|
|
</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"
|
|
android:exported="false">
|
|
<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="androidx.core.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>
|
|
|
|
<provider
|
|
android:name=".NotificationImageProvider"
|
|
android:authorities="${applicationId}.notification_image_provider"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true" />
|
|
|
|
<provider
|
|
android:name=".voip.CallNotificationSoundProvider"
|
|
android:authorities="${applicationId}.call_sound_provider"
|
|
android:exported="true" />
|
|
|
|
<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="android.max_aspect"
|
|
android:value="2.5" />
|
|
|
|
</application>
|
|
|
|
</manifest>
|