Media button intent should be send to current user only.
If it broadcast to all users, it could make the following issues.
1. Connect Headset
2. Run Music application and play music contents.
3. Stop music.
4. Switch user to 'guest'.
5. Enter the Settings-Apps-Google Play Music and press 'Force stop' button.
6. Press media button on the headphone.
After press media button on the headphone,
even though the 'guest' mode, the music is played of owner's contents and application.
1 file changed