diff options
author | Eric Laurent <elaurent@google.com> | 2010-02-10 11:22:11 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2010-02-10 11:23:04 -0800 |
commit | 7749adfd0184b876ff6f8d1961959ca95ab82244 (patch) | |
tree | 16783dbb54fc6bf4fcd0dd7383251ea3606cb175 /telephony/java | |
parent | 859f455645bc49e32330108b1ea9f85ffb80a2cd (diff) | |
download | frameworks_base-7749adfd0184b876ff6f8d1961959ca95ab82244.zip frameworks_base-7749adfd0184b876ff6f8d1961959ca95ab82244.tar.gz frameworks_base-7749adfd0184b876ff6f8d1961959ca95ab82244.tar.bz2 |
Fix issue: 2413494: Add TTY support.
This is a new implementation of TTY support.
Previous implementation in commit aead64def1fe58c95c086a0ca00cf0b13fa32ef1 is reverted.
The new method does not rely any more on the kernel headset driver to send a UEvent containing
current TTY mode.
Diffstat (limited to 'telephony/java')
-rw-r--r-- | telephony/java/com/android/internal/telephony/cdma/TtyIntent.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/cdma/TtyIntent.java b/telephony/java/com/android/internal/telephony/cdma/TtyIntent.java index f27f79c..3813b1d 100644 --- a/telephony/java/com/android/internal/telephony/cdma/TtyIntent.java +++ b/telephony/java/com/android/internal/telephony/cdma/TtyIntent.java @@ -43,4 +43,25 @@ public class TtyIntent { */ public static final String TTY_ENABLED = "ttyEnabled"; + /** + * Broadcast intent action indicating that the TTY preferred operating mode + * has changed. An intent extra provides the new mode as an int. + * @see #TTY_PREFFERED_MODE + * + * {@hide} + */ + public static final String TTY_PREFERRED_MODE_CHANGE_ACTION = + "com.android.internal.telephony.cdma.intent.action.TTY_PREFERRED_MODE_CHANGE"; + + /** + * The lookup key for an int that indicates preferred TTY mode. + * Valid modes are: + * - {@link Phone.TTY_MODE_OFF} + * - {@link Phone.TTY_MODE_FULL} + * - {@link Phone.TTY_MODE_HCO} + * - {@link Phone.TTY_MODE_VCO} + * + * {@hide} + */ + public static final String TTY_PREFFERED_MODE = "ttyPreferredMode"; } |