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

Commit ae675ff2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents 953ab80e 37b5425c
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() {