BeschreibungDisplays a status bar notification when a headset or headphones are plugged into the phone. When supported by the device, it automatically detects if a microphone is available or not.
This is similar to the headset icon on HTC phones, but include more options. Tap the notification to open settings.
Can also automatically wake up the screen if the headset is plugged in when the display is turned off.
WAKE_LOCK: to wake up screen when headset is plugged in.
RECEIVE_BOOT_COMPLETED: to autostart service when phone boots.