diff options
author | Wei Huang <weih@google.com> | 2010-04-22 16:35:56 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-04-22 16:35:56 -0700 |
commit | 9666bbdf1bb96dbf42b88443ad042e63971bfb4a (patch) | |
tree | f1e0206bbc3d547afcb8fd4a8fe8dce4b7c45c16 /telephony | |
parent | 4bcdd6b0688735d7da0eb2a4f211b4b4c8911e3b (diff) | |
parent | 7b88af679a9a3b5737343bb996ef392b76d19e73 (diff) | |
download | frameworks_base-9666bbdf1bb96dbf42b88443ad042e63971bfb4a.zip frameworks_base-9666bbdf1bb96dbf42b88443ad042e63971bfb4a.tar.gz frameworks_base-9666bbdf1bb96dbf42b88443ad042e63971bfb4a.tar.bz2 |
am 7b88af67: Merge "bug #2618035: applying Moto\'s patch to fix a email/shortcode parsing bug." into froyo
Merge commit '7b88af679a9a3b5737343bb996ef392b76d19e73' into froyo-plus-aosp
* commit '7b88af679a9a3b5737343bb996ef392b76d19e73':
bug #2618035: applying Moto's patch to fix a email/shortcode parsing bug.
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/com/android/internal/telephony/SmsMessageBase.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/SmsMessageBase.java b/telephony/java/com/android/internal/telephony/SmsMessageBase.java index 3c2f2ed..af6c5f8 100644 --- a/telephony/java/com/android/internal/telephony/SmsMessageBase.java +++ b/telephony/java/com/android/internal/telephony/SmsMessageBase.java @@ -21,6 +21,7 @@ import com.android.internal.telephony.SmsHeader; import java.util.Arrays; import static android.telephony.SmsMessage.MessageClass; +import android.provider.Telephony; /** * Base class declaring the specific methods and members for SmsMessage. @@ -386,7 +387,7 @@ public abstract class SmsMessageBase { if (parts.length < 2) return; emailFrom = parts[0]; emailBody = parts[1]; - isEmail = true; + isEmail = Telephony.Mms.isEmailAddress(emailFrom); } } |