title: Broadcast Receiver with inner class not registered
body: <p>I've searched and searched, and tried everything I can think of 5 times. I can not get my broadcast receiver to register.</p>
  
  <p>Currently, in the manifest, in the application element, I have:</p>
  
  <pre><code>&lt;receiver android:name=".MainActivity$browserReceiver"
      android:enabled="true" &gt;
      &lt;intent-filter&gt;
          &lt;action android:name="com.mycompany.snapbench.browsertest" /&gt;
      &lt;/intent-filter&gt;
  &lt;/receiver&gt;
  </code></pre>
  
  <p>In my MainActivity class:</p>
  
  <pre><code>public static BrowserReceiver browserReceiver;
  </code></pre>
  
  <p>MainActivity->onCreate:</p>
  
  <pre><code>browserReceiver = new BrowserReceiver();
  </code></pre>
  
  <p>And finally, at the end of the MainActivity class:</p>
  
  <pre><code>public class BrowserReceiver extends BroadcastReceiver {
      @Override
      public void onReceive(Context context, Intent intent) {
          Log.e("Receiver", "I'm pretty sick of this.");
      }
  }
  </code></pre>
  
  <p>When I press a button in the app, I run this, as a test:</p>
  
  <pre><code>if (isIntentAvailable(this, "com.mycompany.snapbench.browsertest")) {
      Log.e("Intent", "It is there.");
  } else {
      Log.e("Intent", "FAIL");
  }
  </code></pre>
  
  <p>And, of course, I always get "FAIL" in LogCat. What am I doing wrong?</p>