mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Merge pull request #249 from joeykrim/patch-1
Small clarification in the comments on the types of SMS to ignore
This commit is contained in:
commit
c827f0a2a7
@ -46,11 +46,10 @@ 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.toUpperCase().startsWith("//ANDROID:") || // Sprint Visual Voicemail
|
||||
messageBody.startsWith("//BREW:")); //BREW stands for “Binary Runtime Environment for Wireless"
|
||||
}
|
||||
|
||||
private SmsMessage getSmsMessageFromIntent(Intent intent) {
|
||||
|
Loading…
Reference in New Issue
Block a user