title: How reliable are Broadcast Receivers across different brand phones?
body: <p>I have manifest declared Broadcasts for <code>android.intent.action.PHONE_STATE</code> and <code>android.intent.action.NEW_OUTGOING_CALL</code>. I tested my app after I removed it from Recent apps screen. I tested it on two phones:</p>
  
  <ol>
  <li>MOTO G4 Play(Nougat)- After I removed my app from Recent apps screen on this phone I was receiving broadcasts.</li>
  <li>ASUS(Lollipop)- After I removed my app from Recent apps screen on this phone I was not receiving broadcasts.</li>
  </ol>
  
  <p>One way after reading such questions on SO I got is that I can do it by starting a sticky service so what it will do is not terminate my process and I will continue to get broadcasts.</p>
  
  <p>What should I do to ensure that I receive broadcasts on every phone without using a service ?</p>
  
  <p>Edit-1:I register my broadcasts as follows in Manifest</p>
  
  <pre><code> `
          &lt;receiver android:name=".PhonecallReceiver"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.PHONE_STATE"
                      android:enabled="true"/&gt;
              &lt;/intent-filter&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.NEW_OUTGOING_CALL"
                      android:enabled="true"/&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
      `
  
       @Override
      public void onReceive(Context context, Intent intent) {
              Log.e("onReceive ","Called"); //This is how I check whether broadcast was called or not
              //... other code
      }
  </code></pre>