OSDN Git Service

audio policy: add forced uses for system
authorEric Laurent <elaurent@google.com>
Mon, 8 Oct 2012 22:53:09 +0000 (15:53 -0700)
committerEric Laurent <elaurent@google.com>
Mon, 8 Oct 2012 22:59:36 +0000 (15:59 -0700)
commit738207def5f691d605ae33d041116829a74513a9
tree2c9f43b421ab165aa6ce9d7911640bceacfd8d21
parent3aabb260ceef10377c31c9e45fb239247f5cfeba
audio policy: add forced uses for system

The volume and routing policy of AUDIO_STREAM_ENFORCED_AUDIBLE is
now controlled by AudioService by means of new forced use type
AUDIO_POLICY_FORCE_FOR_SYSTEM with config
AUDIO_POLICY_FORCE_SYSTEM_ENFORCED.

Property ro.camera.sound.forced is not used anymore.

Bug 7032634.

Change-Id: I742b0eebbe6b013f61d199846454a06411b52bc8
audio/AudioPolicyManagerBase.cpp
include/hardware_legacy/AudioSystemLegacy.h