Set audio.camerasound.force for JP devices

Test: set to JP sku and check No camera sound option
Bug: 188396079
Change-Id: Ic89a150701de17fb29130206c2e25ec929972e25
This commit is contained in:
Cyan_Hsieh 2021-06-08 16:45:14 +08:00
parent 2797625cf8
commit f3cb3c16fd
2 changed files with 12 additions and 0 deletions

View file

@ -18,3 +18,9 @@ on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_complet
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

View file

@ -30,3 +30,9 @@ on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_complet
# 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