@@ -417,12 +417,7 @@ class CallActivity : CallBaseActivity() {
417417 // Register broadcast receiver for ending call from notification
418418 val endCallFilter = IntentFilter (" com.nextcloud.talk.END_CALL_FROM_NOTIFICATION" )
419419
420- // Debug logging to confirm this is the issue
421- Log .d(TAG , " Registering broadcast receiver for end call from notification..." )
422- Log .d(TAG , " Android SDK version: ${Build .VERSION .SDK_INT } " )
423- Log .d(TAG , " Using registerPermissionHandlerBroadcastReceiver with ReceiverFlag.NotExported" )
424-
425- // Fix: Use the proper utility function with ReceiverFlag for Android 14+ compatibility
420+ // Use the proper utility function with ReceiverFlag for Android 14+ compatibility
426421 // This receiver is for internal app use only (notification actions), so it should NOT be exported
427422 registerPermissionHandlerBroadcastReceiver(
428423 endCallFromNotificationReceiver,
@@ -1139,8 +1134,8 @@ class CallActivity : CallBaseActivity() {
11391134 Log .w(TAG , " DEBUG: Microphone permission not granted - skipping foreground service start" )
11401135 }
11411136
1142- // CRITICAL FIX: Always proceed with call setup regardless of notification permission
11431137 // The call should not hang just because notification permission was denied
1138+ // Always proceed with call setup regardless of notification permission
11441139 Log .d(TAG , " DEBUG: Ensuring call proceeds even without notification permission" )
11451140
11461141 if (isVoiceOnlyCall) {
@@ -1189,8 +1184,7 @@ class CallActivity : CallBaseActivity() {
11891184 Log .w(TAG , " DEBUG: Notification permission specifically dismissed - proceeding with call anyway" )
11901185 }
11911186
1192- // CRITICAL FIX: Proceed with call even when notification permission is dismissed
1193- // This prevents the call from hanging when user dismisses notification permission
1187+ // Proceed with call even when notification permission is dismissed
11941188 if (! isConnectionEstablished) {
11951189 Log .d(TAG , " DEBUG: Proceeding with prepareCall() after dismissing notification permission" )
11961190 prepareCall()
0 commit comments