Эх сурвалжийг харах

Set audio.camerasound.force for JP devices

Test: set to JP sku and check No camera sound option
Bug: 247935640
Change-Id: I08f6e9c187a47be289ef8a5e24b6724c353a680d
Cyan_Hsieh 2 жил өмнө
parent
commit
d6f8a94b6d
1 өөрчлөгдсөн 6 нэмэгдсэн , 0 устгасан
  1. 6 0
      conf/init.lynx.rc

+ 6 - 0
conf/init.lynx.rc

@@ -100,3 +100,9 @@ on property:sys.boot_completed=1
 on override-sf-uclamp
     write /proc/vendor_sched/rt_uclamp_min 0
     write /proc/vendor_sched/sf_uclamp_min 0
+
+# 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=G82U8
+    setprop audio.camerasound.force true