From 7a7f31c030aec7b9dbae81f7e8fc94c82b554c67 Mon Sep 17 00:00:00 2001 From: Cyan_Hsieh Date: Wed, 26 May 2021 14:46:52 +0800 Subject: [PATCH] Set audio.camerasound.force for JP devices Test: set to JP sku and check No camera sound option Bug: 188396079 Change-Id: Id6a89d53f796d2311b91955908ec72e88edbc371 --- conf/init.gs101.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/init.gs101.rc b/conf/init.gs101.rc index 8c165f20..7ae860fa 100644 --- a/conf/init.gs101.rc +++ b/conf/init.gs101.rc @@ -808,3 +808,9 @@ on property:vendor.thermal.link_ready=1 chown system system /dev/thermal/tz-by-name/soc/mode chown system system /dev/thermal/tz-by-name/soc/trip_point_0_temp chown system system /dev/thermal/tz-by-name/soc/trip_point_0_hyst + +# For Japan radio builds, 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.radio.subtype=1 + setprop audio.camerasound.force true