From 18c9e5ded8bc9cb499b396fa61236509a273663c Mon Sep 17 00:00:00 2001 From: Robin Peng Date: Wed, 15 May 2024 09:52:44 +0000 Subject: [PATCH] Set audio.camerasound.force for JP devices Test: set to JP sku and check No camera sound option Bug: 340734471 Change-Id: I24d3c20c1116d679c426862b28f5defa7e786ff2 --- conf/init.comet.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/init.comet.rc b/conf/init.comet.rc index 689d9a9..6e9dfc6 100644 --- a/conf/init.comet.rc +++ b/conf/init.comet.rc @@ -146,3 +146,9 @@ on property:sys.boot_completed=1 chmod 660 /dev/touch_offload chmod 660 /dev/touch_offload_outer 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=GC15S + setprop audio.camerasound.force true