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

Commit 9b636c7c authored by Michele's avatar Michele Committed by android-build-merger
Browse files

Merge "Use TelephonyManager API to check if device is voice capable."

am: ae675ff2

Change-Id: Icec804d02c4e1f83c1676d0d19784cdb6c8708bf
parents 5693d157 ae675ff2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -964,7 +964,7 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList
    }

    private boolean isEmergencyCallCapable() {
        return getResources().getBoolean(com.android.internal.R.bool.config_voice_capable);
        return getTelephonyManager().isVoiceCapable();
    }

    private void takeEmergencyCallAction() {