diff options
author | Amit Mahajan <amitmahajan@google.com> | 2014-10-07 05:12:44 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-10-07 05:12:44 +0000 |
commit | dbbf493220ea6bb51016a4d6bb77b3b7133b1b4b (patch) | |
tree | 69c5902a606ccb9d9e6342b64fef365b6f1b8d5d /telephony | |
parent | 7a394311ad23b648e4cc9efa4538e06b57f5f08f (diff) | |
parent | d9a3f89a0727590a069c563a8b97fe99b866d67c (diff) | |
download | frameworks_base-dbbf493220ea6bb51016a4d6bb77b3b7133b1b4b.zip frameworks_base-dbbf493220ea6bb51016a4d6bb77b3b7133b1b4b.tar.gz frameworks_base-dbbf493220ea6bb51016a4d6bb77b3b7133b1b4b.tar.bz2 |
am d9a3f89a: Merge commit \'69555fc2\' into fix-merge-conflict3
* commit 'd9a3f89a0727590a069c563a8b97fe99b866d67c':
Sms7BitEncodingTranslator
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/com/android/internal/telephony/GsmAlphabet.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/GsmAlphabet.java b/telephony/java/com/android/internal/telephony/GsmAlphabet.java index d1c8ef0..ef39a6c 100644 --- a/telephony/java/com/android/internal/telephony/GsmAlphabet.java +++ b/telephony/java/com/android/internal/telephony/GsmAlphabet.java @@ -754,6 +754,18 @@ public class GsmAlphabet { } } + public static boolean isGsmSeptets(char c) { + if (sCharsToGsmTables[0].get(c, -1) != -1) { + return true; + } + + if (sCharsToShiftTables[0].get(c, -1) != -1) { + return true; + } + + return false; + } + /** * Returns the count of 7-bit GSM alphabet characters needed * to represent this string, using the specified 7-bit language table |