Set audio.camerasound.force for JP devices

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

Bug: 227405874
Change-Id: I9f647175ac83d12ddfa1d54e5deb419dbea63877
This commit is contained in:
Cyan_Hsieh 2022-04-07 16:44:35 +08:00 committed by TreeHugger Robot
parent 75e628bb37
commit 970a2bc9d2
2 changed files with 12 additions and 0 deletions

View file

@ -32,3 +32,9 @@ on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_complet
on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1 on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1
write /sys/class/spi_master/spi0/spi0.0/synaptics_tcm.0/sysfs/high_sensitivity 1 write /sys/class/spi_master/spi0/spi0.0/synaptics_tcm.0/sysfs/high_sensitivity 1
# 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=GFE4J
setprop audio.camerasound.force true

View file

@ -12,3 +12,9 @@ on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_complet
on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1 on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1
write /proc/focaltech_touch/high_sensitivity 1 write /proc/focaltech_touch/high_sensitivity 1
# 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=G03Z5
setprop audio.camerasound.force true