title: Broadcast receiver not registered with AndroidManifest.xml
body: <p>I have problems to register a BroadcastReceiver.</p>
  
  <p>It works when I register it with registerReceiver :</p>
  
  <pre><code>registerReceiver(new NotifReceiver(), new IntentFilter(NotifReceiver.POST_NOTIF));
  </code></pre>
  
  <p>But not with AndroidManifest.xml :</p>
  
  <pre><code>    &lt;receiver
          android:name=".receiver.NotifReceiver"
          android:enabled="true"
          android:exported="false" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name=".receiver.NotifReceiver.POST_NOTIF" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  </code></pre>
  
  <p>NotifReceiver.java :</p>
  
  <pre><code>public class NotifReceiver extends BroadcastReceiver {
  
      public static final String POST_NOTIF = "POST_NOTIF";
  
      @Override
      public void onReceive(Context context, Intent intent) {
          if (intent.getAction().equals(POST_NOTIF)) {
              Log.d("debug", "action received");
          }
      }
  
  }
  </code></pre>