Set audio.camerasound.force for JP devices am: de4f625a53

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14880400

Change-Id: I5f3b7f3dd38a6a05a8e23d379457241ad1b14df8
This commit is contained in:
Cyan_Hsieh 2021-06-08 11:28:32 +00:00 committed by Automerger Merge Worker
commit 5fee3fa1a1
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