diff --git a/conf/init.caiman.rc b/conf/init.caiman.rc index 5fd9bc26..c63cfa7d 100644 --- a/conf/init.caiman.rc +++ b/conf/init.caiman.rc @@ -73,3 +73,9 @@ on property:sys.boot_completed=1 chown system input /dev/touch_offload chmod 660 /dev/touch_offload 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=GWVK6 + setprop audio.camerasound.force true diff --git a/conf/init.komodo.rc b/conf/init.komodo.rc index 3ea5e2b2..51d7027f 100644 --- a/conf/init.komodo.rc +++ b/conf/init.komodo.rc @@ -77,3 +77,9 @@ on property:sys.boot_completed=1 chown system input /dev/touch_offload chmod 660 /dev/touch_offload 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=GQ57S + setprop audio.camerasound.force true diff --git a/conf/init.tokay.rc b/conf/init.tokay.rc index 40e95a6d..f0626726 100644 --- a/conf/init.tokay.rc +++ b/conf/init.tokay.rc @@ -75,3 +75,9 @@ on fs # Permission for SSC mode enable chown system system /sys/class/backlight/panel0-backlight/ssc_en chmod 664 /sys/class/backlight/panel0-backlight/ssc_en + +# 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=G1B60 + setprop audio.camerasound.force true