Update RandomMusicPlayer sample for new RemoteControlClient APIs, also add media button support
Change-Id: Ia6ad08dd0ec1e67f1cffa2d6cfca2120ee0a96c7
This commit is contained in:
@@ -51,7 +51,6 @@ public class AudioFocusHelper implements AudioManager.OnAudioFocusChangeListener
|
||||
* Called by AudioManager on audio focus changes. We implement this by calling our
|
||||
* MusicFocusable appropriately to relay the message.
|
||||
*/
|
||||
@Override
|
||||
public void onAudioFocusChange(int focusChange) {
|
||||
if (mFocusable == null) return;
|
||||
switch (focusChange) {
|
||||
|
||||
Reference in New Issue
Block a user