Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 116bc971 authored by Eric Laurent's avatar Eric Laurent
Browse files

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
parent 2b5232dd
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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