title: BroadcastReceiver not receiving boolean value after AlarmManager finishes set time
body: <p>I am using a BroadcastReceiver to enable a button when it is triggered. I have an AlarmManager that runs for a certain amount of time. When the time has elapsed, it sends a broadcast like this:</p>
  
  <pre><code>Intent i = new Intent("polarCap1Status");
  i.putExtra("polarCap1Stat", true);
  LocalBroadcastManager.getInstance(context).sendBroadcast(i);
  </code></pre>
  
  <p>I use this code to receive the broadcast:</p>
  
  <pre><code>//broadcast receiver to allow button to be clicked again
  mMessageReceiver1 = new BroadcastReceiver()
  {
      @Override
      public void onReceive(Context context, Intent intent) 
      {
          clickOnOff1 = intent.getBooleanExtra("polarCap1Stat", false);
          polarCap1.setEnabled(clickOnOff1);
          updateScores();
          resources.edit().putBoolean("pc1Set", false).commit();
      }//end onReceive function
  };
  LocalBroadcastManager.getInstance(getApplicationContext()).registerReceiver(mMessageReceiver1, new IntentFilter("polarCap1Status"));
  </code></pre>
  
  <p>I have the receiver setup in my manifest like so:</p>
  
  <pre><code>&lt;receiver android:name="com.twentytwentythree.sab.SetupTimerPC1" &gt;
      &lt;intent-filter&gt; 
          &lt;action android:name="polarCap1Status" /&gt; 
      &lt;/intent-filter&gt;
  &lt;/receiver&gt;
  </code></pre>
  
  <p>SetupTimerPC1 is the name of the class that is sending the broadcast. It is sending it to another class called runGraphics. </p>
  
  <p>Please let me know if you need any more information.</p>
  
  <p>Edit:</p>
  
  <p>I added an intent-filter to the receiver in the manifest but it has not changed anything. </p>