diff options
author | Eric Laurent <elaurent@google.com> | 2012-10-08 16:00:36 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2012-10-08 16:00:36 -0700 |
commit | bac4a4a9073a440bc6df7ca2306604819aa1c342 (patch) | |
tree | 05dd017ce674492258bc755290777900437ba31c /services | |
parent | c8823995d16b909fae30ff4f94217e875d3e8c8a (diff) | |
download | frameworks_av-bac4a4a9073a440bc6df7ca2306604819aa1c342.zip frameworks_av-bac4a4a9073a440bc6df7ca2306604819aa1c342.tar.gz frameworks_av-bac4a4a9073a440bc6df7ca2306604819aa1c342.tar.bz2 |
audio policy: deprecate ro.camera.sound.forced
The volume and routing policy of AUDIO_STREAM_ENFORCED_AUDIBLE is
now controlled by AudioService.
Do not read ro.camera.sound.forced is not needed anymore.
Bug 7032634.
Change-Id: Ic0a6396fc4b6efb91cdb4dffe0c8eb035d0440bd
Diffstat (limited to 'services')
-rw-r--r-- | services/audioflinger/AudioPolicyService.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/services/audioflinger/AudioPolicyService.cpp b/services/audioflinger/AudioPolicyService.cpp index 3a2dbe2..155a0b8 100644 --- a/services/audioflinger/AudioPolicyService.cpp +++ b/services/audioflinger/AudioPolicyService.cpp @@ -91,10 +91,6 @@ AudioPolicyService::AudioPolicyService() if (rc) return; - property_get("ro.camera.sound.forced", value, "0"); - forced_val = strtol(value, NULL, 0); - mpAudioPolicy->set_can_mute_enforced_audible(mpAudioPolicy, !forced_val); - ALOGI("Loaded audio policy from %s (%s)", module->name, module->id); // load audio pre processing modules |