summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-10-08 16:00:36 -0700
committerEric Laurent <elaurent@google.com>2012-10-08 16:00:36 -0700
commit116bc97164e0fa836744f31e54779b5a7a8c9db4 (patch)
treed5c6b169afe3ef577e1b76113b65220ea54cda8e /services
parent2b5232dd49d006a08c35ba865a6801acdb15483c (diff)
downloadframeworks_av-116bc97164e0fa836744f31e54779b5a7a8c9db4.zip
frameworks_av-116bc97164e0fa836744f31e54779b5a7a8c9db4.tar.gz
frameworks_av-116bc97164e0fa836744f31e54779b5a7a8c9db4.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.cpp4
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