title: BroadcastReceiver not receiving download complete action
body: <p>I am trying to capture download complete events, but my BroadcastReceiver is not receiving them. Here is the receiver:</p>
  
  <pre><code>public class DownloadListenerService extends BroadcastReceiver {        
      @Override
      public void onReceive(final Context context, Intent intent) {
          System.out.println("got here");
          SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(context);
          SharedPreferences.Editor editor = settings.edit();
  
          String action = intent.getAction();
          if (DownloadManager.ACTION_DOWNLOAD_COMPLETE.equals(action)) {
              String downloadPath = intent.getStringExtra(DownloadManager.COLUMN_URI);
              editor.putString("downloadPath", downloadPath);
              editor.commit();
          }
      }
  }
  </code></pre>
  
  <p>Here is the manifest:</p>
  
  <pre><code>&lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
  
      &lt;receiver 
          android:name="com.example.alreadydownloaded.DownloadListenerService" 
          android:exported="true"&gt;
          &lt;intent-filter&gt;
              &lt;action android:enabled="true" android:name="android.intent.action.DOWNLOAD_COMPLETE" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
   &lt;/application&gt;
  </code></pre>
  
  <p>Anyone see what's wrong?</p>