Skip to content

Commit 1f048a7

Browse files
Remove NTgCalls integration
Revert all 8 NTgCalls-related commits. The original developer (Laky-64/null-nick) has made their own proper implementation, so our custom cherry-picked version is no longer needed. Reverted commits: - 3e82450 Add NTgCalls integration from PR TGX-Android#916 - df7b562 Add NTgCalls build configuration and Bluetooth permissions - 2695c8a Add group call support and voice/video restriction UI - 5751cad Add Bluetooth runtime permission checks for Android 12+ - 7c23b5a Add video rendering to GroupCallController - b341699 Add video chat management features - 0169b97 Fix video chat API calls - f544b6d Add Invite to Video Chat feature Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a52efe8 commit 1f048a7

33 files changed

Lines changed: 66 additions & 3766 deletions

‎.claude/CLAUDE.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ Each feature has its own branch based on `main`. Use these for isolated features
4040

4141
| Branch | Description |
4242
|--------|-------------|
43-
| `feature/calls` | NTgCalls integration, video chat, group calls |
4443
| `feature/mini-apps` | Web Apps (Mini Apps) support |
4544
| `feature/quotes` | Quote messages, reply in other chat |
4645
| `feature/stories-implementation` | Stories viewing and posting |
@@ -57,7 +56,6 @@ Each feature has its own branch based on `main`. Use these for isolated features
5756
```
5857
origin/main (upstream)
5958
│
60-
├── feature/calls
6159
├── feature/mini-apps
6260
├── feature/quotes
6361
├── feature/stories-implementation
@@ -165,7 +163,7 @@ Color definitions: `app/src/main/other/themes/colors-and-properties.xml`
165163
- Use `Lang.getString()`, `Lang.plural()`, `Lang.getRelativeDate()`
166164
- Translations managed via translations.telegram.org (not local files)
167165

168-
## Issue Tracking (MantisBT)
166+
## Task Tracking
169167

170168
**Project ID: 1** (Telegram X)
171169

‎app/build.gradle.kts‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ android {
7777
buildConfigString("TDLIB_REMOTE_URL", "https://github.com/tdlib/td")
7878

7979
buildConfigField("boolean", "EXPERIMENTAL", config.isExperimentalBuild.toString())
80-
buildConfigField("boolean", "USE_NTGCALLS", config.useNTgCalls.toString())
8180

8281
buildConfigInt("TARGET_SDK_INT", config.targetSdkVersion)
8382

@@ -267,7 +266,7 @@ android {
267266
}
268267
variantBuilder.enable = sdkVariant.minSdk >= abiVariant.minSdk &&
269268
!(abiVariant.flavor == "universal" && sdkVariant.flavor == "legacy") &&
270-
(variantBuilder.buildType != "debug" || sdkVariant.flavor == "legacy" || (abiVariant.flavor == "x86" || abiVariant.flavor == "x64" || abiVariant.flavor == "arm64" || abiVariant.flavor == "universal"))
269+
(variantBuilder.buildType != "debug" || sdkVariant.flavor == "legacy" || (abiVariant.flavor == "x86" || abiVariant.flavor == "x64" || abiVariant.flavor == "universal"))
271270
}
272271
productFlavors {
273272
Sdk.VARIANTS.forEach { (sdk, variant) ->
@@ -487,10 +486,6 @@ dependencies {
487486
implementation(project(":vkryl:leveldb"))
488487
implementation(project(":vkryl:android"))
489488
implementation(project(":vkryl:td"))
490-
// NTgCalls: https://github.com/pytgcalls/ntgcalls
491-
if (config.useNTgCalls) {
492-
implementation("io.github.pytgcalls:ntgcalls:2.0.6")
493-
}
494489
// AndroidX: https://developer.android.com/jetpack/androidx/versions
495490
flavorImplementation(
496491
libs.androidx.activity.legacy,

‎app/src/main/AndroidManifest.xml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@
7474
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
7575
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
7676
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
77-
<uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
78-
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
79-
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation" />
77+
<uses-permission android:name="android.permission.BLUETOOTH" />
8078
<!--<uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />-->
8179
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"
8280
tools:ignore="RequestInstallPackagesPolicy" />

‎app/src/main/java/org/pytgcalls/ntgcallsx/CallInterface.java‎

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)