From 46c049985a6215948396df304c6cba0e8ae031be Mon Sep 17 00:00:00 2001 From: Wilson Sung Date: Mon, 23 Dec 2024 06:47:37 +0000 Subject: [PATCH] Set audio.camerasound.force for JP devices Test: set to JP sku and check No camera sound option Bug: 385658991 Flag: EXEMPT bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:905adbc926f3df2d608c91667cbd6e7ac85e6ce9) Merged-In: I1594dc20f12e0b9281f6af6d3126fc09f2fa4f79 Change-Id: I1594dc20f12e0b9281f6af6d3126fc09f2fa4f79 --- conf/init.tegu.rc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/conf/init.tegu.rc b/conf/init.tegu.rc index 4c589bf..8b35f0f 100644 --- a/conf/init.tegu.rc +++ b/conf/init.tegu.rc @@ -67,3 +67,10 @@ 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 write /sys/devices/virtual/goog_touch_interface/gti.0/screen_protector_mode_enabled 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=G3Y12 + setprop audio.camerasound.force true +