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:
parent
f17094a258
commit
c6ee271914
3 changed files with 18 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue