Set audio.camerasound.force for JP devices
Test: set to JP sku and check No camera sound option
Bug: 188396079
Change-Id: Id6a89d53f796d2311b91955908ec72e88edbc371
diff --git a/conf/init.gs101.rc b/conf/init.gs101.rc
index 8c165f2..7ae860f 100644
--- a/conf/init.gs101.rc
+++ b/conf/init.gs101.rc
@@ -808,3 +808,9 @@
chown system system /dev/thermal/tz-by-name/soc/mode
chown system system /dev/thermal/tz-by-name/soc/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/soc/trip_point_0_hyst
+
+# For Japan radio builds, 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.radio.subtype=1
+ setprop audio.camerasound.force true