Set audio.camerasound.force for JP devices
Test: set to JP sku and check No camera sound option
Bug: 188396079
Change-Id: Ic89a150701de17fb29130206c2e25ec929972e25
diff --git a/conf/init.oriole.rc b/conf/init.oriole.rc
index 77f03f5..645f2b7 100644
--- a/conf/init.oriole.rc
+++ b/conf/init.oriole.rc
@@ -18,3 +18,9 @@
on late-init && property:ro.boot.hardware.revision=PROTO1.0
setprop vendor.thermal.config "thermal_info_config_WHI_A.json"
+
+# 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=GR1YH
+ setprop audio.camerasound.force true
diff --git a/conf/init.raven.rc b/conf/init.raven.rc
index fb6b869..07da82c 100644
--- a/conf/init.raven.rc
+++ b/conf/init.raven.rc
@@ -30,3 +30,9 @@
# Bluetooth
on post-fs-data
chown bluetooth system /proc/bluetooth/timesync
+
+# 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=GF5KQ
+ setprop audio.camerasound.force true