Add support for updating repeat and shuffle via media session callback
Description
This MR enables support for the built-in callbacks to change repeat and shuffle modes. This can be tested using the Android Media Controller Test application and via voice command using Android Auto.
Motivation and Context
Google Assistant uses these functions to trigger shuffle and repeat behavior via voice command.
To Shuffle: "Shuffle Music" enables shuffle; "Turn Off Shuffle Mode" yields "Sorry, I can't do that yet"
To Repeat: "Repeat Off", "Repeat One", and "Repeat All"
Types of changes
-
New feature (non-breaking change which adds functionality)
Checklist
-
I have read the CONTRIBUTING section of the README document.
Edited by Robert Stone