From d6f8a94b6d3ae60cdeb72e41125ae3acd0ef7f54 Mon Sep 17 00:00:00 2001 From: Cyan_Hsieh Date: Thu, 29 Sep 2022 14:24:08 +0800 Subject: [PATCH] Set audio.camerasound.force for JP devices Test: set to JP sku and check No camera sound option Bug: 247935640 Change-Id: I08f6e9c187a47be289ef8a5e24b6724c353a680d --- conf/init.lynx.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/init.lynx.rc b/conf/init.lynx.rc index 9ebba66..55cc13b 100644 --- a/conf/init.lynx.rc +++ b/conf/init.lynx.rc @@ -100,3 +100,9 @@ on property:sys.boot_completed=1 on override-sf-uclamp write /proc/vendor_sched/rt_uclamp_min 0 write /proc/vendor_sched/sf_uclamp_min 0 + +# 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=G82U8 + setprop audio.camerasound.force true