title: Why is ACTION_CARRIER_CONFIG_CHANGED not triggering my receiver?
body: <p>I'm writing an Android App which should log changes to cell network connectivity. I already succeeded in implementing a <code>BroadcastReceiver</code> to log MCC/MNC changes (using <code>android.intent.action.SERVICE_STATE</code>) but I just can't get <code>CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED</code> to trigger my receiver. What am I missing?</p>
  
  <p>I know that <code>ACTION_CARRIER_CONFIG_CHANGED</code> is a whitelisted broadcast which should still work. I tried different spelling combinations in the intent filter (<code>android.telephony.CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED</code>, <code>CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED</code>, <code>ACTION_CARRIER_CONFIG_CHANGED</code>, etc.).</p>
  
  <p>From AndroidManifest.xml:</p>
  
  <pre><code>    &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:roundIcon="@mipmap/ic_launcher_round"
          android:supportsRtl="true"
          android:theme="@style/AppTheme"&gt;
          &lt;activity android:name=".MainActivity"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
  
          &lt;receiver android:name="CarrierConfigChangedReceiver" android:exported="true"&gt; &lt;!-- CARRIER_CONFIG_CHANGED --&gt;
            &lt;intent-filter&gt;
              &lt;action android:name="android.telephony.CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED" /&gt;
            &lt;/intent-filter&gt;
          &lt;/receiver&gt;
  
      &lt;/application&gt;
  </code></pre>
  
  <p>(note: I moved the receiver registration for my <code>ServiceStateChangedReceiver</code> to the <code>MainActivity</code> onCreate method, which works just as well as it did in the <code>AndroidManifest.xml</code> where it was previously) - but the <code>CarrierConfigChangedReceiver</code> does not work.</p>
  
  <p>From CarrierConfigChangedReceiver.java:</p>
  
  <pre><code>import android.content.BroadcastReceiver;
  import android.content.Context;
  import android.content.Intent;
  import android.util.Log;
  
  public class CarrierConfigChangedReceiver extends BroadcastReceiver {
  
      String msg = "BNA";
  
      @Override
      public void onReceive(Context context, Intent intent) {
  
          Log.d(msg, "Carrier Config change detected");
      }
  }
  </code></pre>