Home
last modified time | relevance | path

Searched refs:foregroundCallBeforeSwap (Results 1 – 1 of 1) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DTransactionalServiceWrapper.java446 Call foregroundCallBeforeSwap = mCallsManager.getForegroundCall(); in handleCallEventCallbackNewFocus() local
447 boolean wasActive = foregroundCallBeforeSwap != null && foregroundCallBeforeSwap.isActive(); in handleCallEventCallbackNewFocus()
486 maybeResetForegroundCall(foregroundCallBeforeSwap, wasActive); in handleCallEventCallbackNewFocus()
643 private void maybeResetForegroundCall(Call foregroundCallBeforeSwap, boolean wasActive) { in maybeResetForegroundCall() argument
644 if (foregroundCallBeforeSwap == null) { in maybeResetForegroundCall()
647 if (wasActive && !foregroundCallBeforeSwap.isActive()) { in maybeResetForegroundCall()
648 mCallsManager.markCallAsActive(foregroundCallBeforeSwap); in maybeResetForegroundCall()