audio policy: apply default device volume

Make sure that we apply default device volume to
active outputs in case no specific volume for selected
device is received afterward.

Bug: 9760269.
Change-Id: I216de40396e1075e77493c97e8b192cd3a31d546
Merge tag 'android-4.3_r3.1' of https://android.googlesource.com/platform/hardware/libhardware_legacy into cm-10.2

Android 4.3 Release 3.1

Change-Id: I62617f638b495ce4345726dac81bf417ed100f7b
audio policy: apply default device volume

Make sure that we apply default device volume to
active outputs in case no specific volume for selected
device is received afterward.

Bug: 9760269.
Change-Id: I216de40396e1075e77493c97e8b192cd3a31d546

Conflicts:

	audio/AudioPolicyManagerBase.cpp
Added ifndef ICS_AUDIO_BLOB around non-existent functions (2/3)

For older audio blobs where is_source_active and is_stream_active_remotely
doesn't exist, receiving a notification and dumpsys crashes the audio service.

Change-Id: I2ec4dcece3c95c9972ce78f1f7a38fe522dd7802
Merge commit '4ca951f05e2b1baf1e0b3947d64434c82f8abf5d' into jb-4.3