Merge "Add implementation of handle external messages from wired headset, dock and speaker, mute toggle and focus switching." into main