title: android abortBroadcast doesn't stop sms from being broadcasted
body: <p>in my onReceive method I have this code:</p>
  
  <pre><code>if (from.equals(number)) {
      abortBroadcast();
      in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
      context.startActivity(in);
      Toast.makeText(context, str, Toast.LENGTH_SHORT).show();
  } else {
      Toast.makeText(context, "Not from needed number", Toast.LENGTH_SHORT).show();
  }   
  </code></pre>
  
  <p>where number = "29853" - number messages from which I wanna catch and not save in Inbox.</p>
  
  <p>This code works correctly - if sms is from number the first Toast works and it prints the content of the message, if sms is not from number "Not from needed number" is printed. The problem is that abortBroadcast doesn't make its businness - the message from number is still in the Inbox of the phone although receiver's priority is 1000:</p>
  
  <pre><code>&lt;receiver android:name=".service_classes.MyReceiver"&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="android.provider.Telephony.SMS_RECEIVED"
                  android:priority="1000" /&gt;
      &lt;/intent-filter&gt;
  &lt;/receiver&gt;
  </code></pre>
  
  <p>What's the problem - why doesn't abortBroadcast work?</p>