@qusaieilouti99/call-manager 0.1.176 → 0.1.178

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -329,7 +329,6 @@ object CallEngine {
329
329
  currentCallId = callId
330
330
  Log.d(TAG, "Call $callId added to activeCalls. State: DIALING")
331
331
 
332
- setAudioMode() // Set audio mode to communication
333
332
  registerPhoneAccount()
334
333
 
335
334
  val telecomManager =
@@ -408,7 +407,7 @@ object CallEngine {
408
407
  currentCallId = callId
409
408
  Log.d(TAG, "Call $callId added to activeCalls. Initial state: DIALING (for Telecom)")
410
409
 
411
- setAudioMode() // Set audio mode to communication
410
+
412
411
  registerPhoneAccount()
413
412
 
414
413
  val telecomManager = requireContext().getSystemService(Context.TELECOM_SERVICE) as TelecomManager
@@ -444,6 +443,7 @@ object CallEngine {
444
443
  endCallInternal(callId)
445
444
  }
446
445
  }
446
+
447
447
  updateLockScreenBypass()
448
448
  }
449
449
 
@@ -1012,7 +1012,7 @@ object CallEngine {
1012
1012
  // if not relying on Telecom for ringing.
1013
1013
  // Since we play ringtone manually below, ensure channel sound is null to avoid double ringing.
1014
1014
  channel.setSound(null, null)
1015
- channel.importance = NotificationManager.IMPORTATION_HIGH
1015
+ channel.importance = NotificationManager.IMPORTANCE_HIGH
1016
1016
 
1017
1017
  val manager = context.getSystemService(NotificationManager::class.java)
1018
1018
  manager.createNotificationChannel(channel)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qusaieilouti99/call-manager",
3
- "version": "0.1.176",
3
+ "version": "0.1.178",
4
4
  "description": "Call manager",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",