title: Delphi 10 Android Broadcastreceiver for Headset Plugin does not work. What do I wrong?
body: <p>I use Delphi 10 to create a mediaplayer app for my android phone. I use the following component to include a broadcastreceiver to my app:
  <a href="https://github.com/barisatalay/delphi-android-broadcast-receiver-component" rel="nofollow">https://github.com/barisatalay/delphi-android-broadcast-receiver-component</a></p>
  
  <p>This works perfect if I request a message for phone incoming calls (like in the demo app) and I use: android.intent.action.PHONE_STATE</p>
  
  <p>However, if I add a request for the headset plugin message:
  android.intent.action.ACTION_HEADSET_PLUG
  my app does not receive a message.</p>
  
  <p>Any idea what I might do wrong?</p>