Set audio.camerasound.force for JP devices

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

Bug: 340734471
Change-Id: I32e8cda259cba948ea6022ab15fbc24e0553c052
This commit is contained in:
Robin Peng 2024-05-15 09:52:36 +00:00
parent f17094a258
commit c6ee271914
3 changed files with 18 additions and 0 deletions

View file

@ -73,3 +73,9 @@ on property:sys.boot_completed=1
chown system input /dev/touch_offload chown system input /dev/touch_offload
chmod 660 /dev/touch_offload chmod 660 /dev/touch_offload
start twoshay start twoshay
# 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=GWVK6
setprop audio.camerasound.force true

View file

@ -77,3 +77,9 @@ on property:sys.boot_completed=1
chown system input /dev/touch_offload chown system input /dev/touch_offload
chmod 660 /dev/touch_offload chmod 660 /dev/touch_offload
start twoshay start twoshay
# 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=GQ57S
setprop audio.camerasound.force true

View file

@ -75,3 +75,9 @@ on fs
# Permission for SSC mode enable # Permission for SSC mode enable
chown system system /sys/class/backlight/panel0-backlight/ssc_en chown system system /sys/class/backlight/panel0-backlight/ssc_en
chmod 664 /sys/class/backlight/panel0-backlight/ssc_en chmod 664 /sys/class/backlight/panel0-backlight/ssc_en
# 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=G1B60
setprop audio.camerasound.force true