Loading src/com/android/server/telecom/CallsManager.java +3 −3 Original line number Diff line number Diff line Loading @@ -85,7 +85,6 @@ import android.util.Pair; import com.android.internal.annotations.VisibleForTesting; import android.telecom.CallerInfo; import com.android.internal.telephony.PhoneConstants; import com.android.internal.util.IndentingPrintWriter; import com.android.server.telecom.bluetooth.BluetoothRouteManager; import com.android.server.telecom.bluetooth.BluetoothStateReceiver; Loading Loading @@ -2260,8 +2259,9 @@ public class CallsManager extends Call.ListenerBase * @return {@code true} if the speakerphone should automatically be enabled. */ private static boolean isSpeakerEnabledForVideoCalls() { return TelephonyProperties.videocall_audio_output().orElse( PhoneConstants.AUDIO_OUTPUT_DEFAULT) == PhoneConstants.AUDIO_OUTPUT_ENABLE_SPEAKER; return TelephonyProperties.videocall_audio_output() .orElse(TelecomManager.AUDIO_OUTPUT_DEFAULT) == TelecomManager.AUDIO_OUTPUT_ENABLE_SPEAKER; } /** Loading Loading
src/com/android/server/telecom/CallsManager.java +3 −3 Original line number Diff line number Diff line Loading @@ -85,7 +85,6 @@ import android.util.Pair; import com.android.internal.annotations.VisibleForTesting; import android.telecom.CallerInfo; import com.android.internal.telephony.PhoneConstants; import com.android.internal.util.IndentingPrintWriter; import com.android.server.telecom.bluetooth.BluetoothRouteManager; import com.android.server.telecom.bluetooth.BluetoothStateReceiver; Loading Loading @@ -2260,8 +2259,9 @@ public class CallsManager extends Call.ListenerBase * @return {@code true} if the speakerphone should automatically be enabled. */ private static boolean isSpeakerEnabledForVideoCalls() { return TelephonyProperties.videocall_audio_output().orElse( PhoneConstants.AUDIO_OUTPUT_DEFAULT) == PhoneConstants.AUDIO_OUTPUT_ENABLE_SPEAKER; return TelephonyProperties.videocall_audio_output() .orElse(TelecomManager.AUDIO_OUTPUT_DEFAULT) == TelecomManager.AUDIO_OUTPUT_ENABLE_SPEAKER; } /** Loading