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
Audio: Add Stream Flags key to setParameters

Audio Route Manager needs to know the type of stream to take the
appropriate routing decision (eg direct Output, MP3 Offload).
It must be defined as key and filled by the policy.

Note: this patch is related to changes in:
 - hardware/libhardware
 - frameworks/av

Change-Id: Ic0d5c4880811b47b9eef15af23e6cb391ba507f8
Signed-off-by: Francois Gaffie <francois.gaffie@intel.com>
Signed-off-by: David Wagner <david.wagner@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 70126
Merge tag 'android-4.3_r3.1' into jb-4.3

Android 4.3 Release 3.1

Conflicts:
	audio/AudioPolicyManagerBase.cpp