mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sprint Visual Voicemail
|
|
||||||
return
|
return
|
||||||
message.getOriginatingAddress().length() < 7 &&
|
message.getOriginatingAddress().length() < 7 &&
|
||||||
(messageBody.startsWith("//ANDROID:") || messageBody.startsWith("//Android:") ||
|
(messageBody.toUpperCase().startsWith("//ANDROID:") || // Sprint Visual Voicemail
|
||||||
messageBody.startsWith("//android:") || messageBody.startsWith("//BREW:"));
|
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