diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-09-02 15:29:26 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-09-02 15:29:26 -0700 |
commit | 983b837ea1effc462ecd9c14620b19178f98fd92 (patch) | |
tree | 959388a4a030436e053163e6866a755568648936 /telephony | |
parent | 29dab8278a53f02868dea5579c49a98018a21317 (diff) | |
parent | af6bb1ce9aa0f1f73666b25af404640930be8c10 (diff) | |
download | frameworks_base-983b837ea1effc462ecd9c14620b19178f98fd92.zip frameworks_base-983b837ea1effc462ecd9c14620b19178f98fd92.tar.gz frameworks_base-983b837ea1effc462ecd9c14620b19178f98fd92.tar.bz2 |
Merge change 23510 into eclair
* changes:
SMS-to-email fix for messages from the web
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/com/android/internal/telephony/SmsMessageBase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/SmsMessageBase.java b/telephony/java/com/android/internal/telephony/SmsMessageBase.java index e73039b..3f0213b 100644 --- a/telephony/java/com/android/internal/telephony/SmsMessageBase.java +++ b/telephony/java/com/android/internal/telephony/SmsMessageBase.java @@ -383,7 +383,7 @@ public abstract class SmsMessageBase { * 2. [x@y][ ]/[body] */ String[] parts = messageBody.split("( /)|( )", 2); - if (parts.length < 1 || parts[0].indexOf('@') == -1) return; + if (parts.length < 1) return; emailFrom = parts[0]; emailBody = parts[1]; isEmail = true; |