title: registerReceiver BluetoothAdapter.ACTION_STATE_CHANGED not working
body: <p>I'm working with Android Oreo and bluetooth. I want to get from a broadcast info when a new device is found and when Bluetoothadapter has changed its state. I have the following code:</p>
  
  <pre><code>    IntentFilter filter = new IntentFilter(BluetoothDevice.ACTION_FOUND);
      IntentFilter filter2 = new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED);
  
      registerReceiver(BEReceiver_ADD, filter);
      registerReceiver(BEReceiver_Adapter, filter2);
  </code></pre>
  
  <p>why do I recieve signal with BEReceiver_ADD but not with BEReceiver_Adapter? I never enter into BEReceiver_Adapter. What's wrong?</p>
  
  <p><strong>NOTE:</strong> I tried the same code with Android 4.1 and it works. Why is not working with Android 8.0?</p>