From 52e260183563d40618d900184e20fd0d27b1501a Mon Sep 17 00:00:00 2001 From: Nina Chen Date: Mon, 4 Sep 2023 14:57:49 +0800 Subject: [PATCH] Set audio.camerasound.force for JP devices Test: set to JP sku and check No camera sound option Bug: 298117078 Change-Id: I64175de809b51411a257593476b249e4f1a3dae3 --- conf/init.akita.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/init.akita.rc b/conf/init.akita.rc index 3127eb0..edde71d 100644 --- a/conf/init.akita.rc +++ b/conf/init.akita.rc @@ -104,3 +104,9 @@ on property:vendor.all.modules.ready=1 # Start the twoshay touch service on property:vendor.device.modules.ready=1 start twoshay + +# For Japan sku, always enforce camera shutter sound +# Since this property is read by the audio server in system service, +# it should be written by the system init. +on property:ro.boot.hardware.sku=G576D + setprop audio.camerasound.force true