From 116bc97164e0fa836744f31e54779b5a7a8c9db4 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Mon, 8 Oct 2012 16:00:36 -0700 Subject: 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 --- services/audioflinger/AudioPolicyService.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'services') 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 -- cgit v1.1