Show TTY mode for multi-SIM device
TTY mode is not shown on multi-SIM device such as DSDS, but there is no
limitation to show it and there is requirement for supporting TTY in
some region such as US. Fix by removing multi-SIM check from
isTtyModeSupported().
Bug: 28623450
Change-Id: Ie75064cb991d65aec202ca49aa6db975300252aa
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index 0b3a80b..d1202f1 100644
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -2759,7 +2759,7 @@
TelecomManager telecomManager = TelecomManager.from(mPhone.getContext());
TelephonyManager telephonyManager =
(TelephonyManager) mPhone.getContext().getSystemService(Context.TELEPHONY_SERVICE);
- return !telephonyManager.isMultiSimEnabled() && telecomManager.isTtySupported();
+ return telecomManager.isTtySupported();
}
@Override