title: LocalBroadcastManager does not work on API 30
body: <p>I'm adapting an app to API 30 and I've found this problem.</p>
  <p>In previous versions it works nicely with an structure like this:</p>
  <p>On my main activity I get to declare something like this:</p>
  <pre><code>final LocalBroadcastManager mLocalBroadcastManager3;
          BroadcastReceiver mBroadcastReceiver3 = new BroadcastReceiver() {
  
  
              @Override
              public void onReceive(Context context, Intent intent) {
  
              [code]                 
  
              }
          };
  
          mLocalBroadcastManager3 = LocalBroadcastManager.getInstance(this);
          IntentFilter mIntentFilter3 = new IntentFilter();
          mIntentFilter3.addAction(&quot;com.durga.action.exit2&quot;);
          mLocalBroadcastManager3.registerReceiver(mBroadcastReceiver3, mIntentFilter3);
  </code></pre>
  <p>And I call it this way from a JobIntentService:</p>
  <pre><code>localBroadcastManager.sendBroadcast(new Intent(
                                          &quot;com.durga.action.exit2&quot;));
  </code></pre>
  <p>In API 30 this last instruction is executed but it's as if it never happened, it doesn't raise any exception, but the onReceive function declared in MainActivity is never executed.</p>
  <p>What could I do to solve this?</p>