Searched refs:foregroundCallBeforeSwap (Results 1 – 1 of 1) sorted by relevance
446 Call foregroundCallBeforeSwap = mCallsManager.getForegroundCall(); in handleCallEventCallbackNewFocus() local447 boolean wasActive = foregroundCallBeforeSwap != null && foregroundCallBeforeSwap.isActive(); in handleCallEventCallbackNewFocus()486 maybeResetForegroundCall(foregroundCallBeforeSwap, wasActive); in handleCallEventCallbackNewFocus()643 private void maybeResetForegroundCall(Call foregroundCallBeforeSwap, boolean wasActive) { in maybeResetForegroundCall() argument644 if (foregroundCallBeforeSwap == null) { in maybeResetForegroundCall()647 if (wasActive && !foregroundCallBeforeSwap.isActive()) { in maybeResetForegroundCall()648 mCallsManager.markCallAsActive(foregroundCallBeforeSwap); in maybeResetForegroundCall()