Merge "Use TelephonyManager API to check if device is voice capable." am: ae675ff282
am: 9b636c7c47
am: c5075647ee
Change-Id: I0a4929d0568297df99db37a5477fb9d5519c9f2b
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user