From d0fe411f84b72bdd09891bcad033a8cf352e7d37 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: 255226094 Change-Id: I11050e39a447ac5748a05fd109447866dff5f613 --- conf/init.felix.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/init.felix.rc b/conf/init.felix.rc index d877c5e..181c681 100644 --- a/conf/init.felix.rc +++ b/conf/init.felix.rc @@ -140,3 +140,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=G0B96 + setprop audio.camerasound.force true