mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
Small clarification in the comments on the types of SMS to ignore
This commit is contained in:
parent
bccf4895f6
commit
87e8214bae
@ -46,11 +46,11 @@ public class SmsListener extends BroadcastReceiver {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sprint Visual Voicemail
|
|
||||||
return
|
return
|
||||||
message.getOriginatingAddress().length() < 7 &&
|
message.getOriginatingAddress().length() < 7 &&
|
||||||
(messageBody.startsWith("//ANDROID:") || messageBody.startsWith("//Android:") ||
|
(messageBody.startsWith("//ANDROID:") || messageBody.startsWith("//Android:") || // Sprint Visual Voicemail
|
||||||
messageBody.startsWith("//android:") || messageBody.startsWith("//BREW:"));
|
messageBody.startsWith("//android:") ||
|
||||||
|
messageBody.startsWith("//BREW:")); //BREW stands for “Binary Runtime Environment for Wireless"
|
||||||
}
|
}
|
||||||
|
|
||||||
private SmsMessage getSmsMessageFromIntent(Intent intent) {
|
private SmsMessage getSmsMessageFromIntent(Intent intent) {
|
||||||
|
Loading…
Reference in New Issue
Block a user