Set audio.camerasound.force for JP devices

Test: set to JP sku and check No camera sound option

Bug: 277875182
Change-Id: Ibb7bd6a1046de6d6b97b0c93ae13e260c80f15bb
This commit is contained in:
Cyan_Hsieh 2023-04-17 13:16:24 +08:00 committed by Cyan Hsieh
parent ede9f1d3b4
commit c54353929b
2 changed files with 12 additions and 0 deletions

View file

@ -91,3 +91,9 @@ on property:vendor.all.modules.ready=1
chown system system /sys/bus/i2c/devices/4-0043/default/delay_before_stop_playback_us
enable vendor.vibrator.cs40l26
# 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=GE9DP
setprop audio.camerasound.force true

View file

@ -91,3 +91,9 @@ on property:vendor.all.modules.ready=1
chown system system /sys/bus/i2c/devices/4-0043/default/delay_before_stop_playback_us
enable vendor.vibrator.cs40l26
# 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=GZPF0
setprop audio.camerasound.force true