Class android.media.AudioManager

Added Methods
void addOnCommunicationDeviceChangedListener(Executor, OnCommunicationDeviceChangedListener)  
void addOnModeChangedListener(Executor, OnModeChangedListener)  
void clearCommunicationDevice()  
int getAudioHwSyncForSession(int)  
List<AudioDeviceInfo> getAvailableCommunicationDevices()  
AudioDeviceInfo getCommunicationDevice()  
int getEncodedSurroundMode()  
int getPlaybackOffloadSupport(AudioFormat, AudioAttributes)  
boolean isSurroundFormatEnabled(int)  
void removeOnCommunicationDeviceChangedListener(OnCommunicationDeviceChangedListener)  
void removeOnModeChangedListener(OnModeChangedListener)  
boolean setCommunicationDevice(AudioDeviceInfo)  
boolean setEncodedSurroundMode(int)  
boolean setSurroundFormatEnabled(int, boolean)  
 

Added Fields
int ENCODED_SURROUND_OUTPUT_ALWAYS  
int ENCODED_SURROUND_OUTPUT_AUTO  
int ENCODED_SURROUND_OUTPUT_MANUAL  
int ENCODED_SURROUND_OUTPUT_NEVER  
int ENCODED_SURROUND_OUTPUT_UNKNOWN  
int FX_BACK  
int PLAYBACK_OFFLOAD_GAPLESS_SUPPORTED  
int PLAYBACK_OFFLOAD_NOT_SUPPORTED  
int PLAYBACK_OFFLOAD_SUPPORTED