Small clarification in the comments on the types of SMS to ignore

This commit is contained in:
joeykrim 2013-07-08 10:16:25 -04:00
parent bccf4895f6
commit 87e8214bae

View File

@ -46,11 +46,11 @@ public class SmsListener extends BroadcastReceiver {
return true;
}
// Sprint Visual Voicemail
return
message.getOriginatingAddress().length() < 7 &&
(messageBody.startsWith("//ANDROID:") || messageBody.startsWith("//Android:") ||
messageBody.startsWith("//android:") || messageBody.startsWith("//BREW:"));
(messageBody.startsWith("//ANDROID:") || messageBody.startsWith("//Android:") || // Sprint Visual Voicemail
messageBody.startsWith("//android:") ||
messageBody.startsWith("//BREW:")); //BREW stands for Binary Runtime Environment for Wireless"
}
private SmsMessage getSmsMessageFromIntent(Intent intent) {