Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05f81b72 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Stop using hidden TelephonyProperties and PhoneConstants am: fe8fa5f6 am:...

Stop using hidden TelephonyProperties and PhoneConstants am: fe8fa5f6 am: 16b2de5c am: 241c1a7a

Change-Id: Id560636ab81e786b5dfbf1df39b057dcbdd94b0b
parents 7402a9ca 241c1a7a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;
@@ -2257,8 +2256,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;
    }

    /**