I want to add a property cam.sound in framework/base/core/Java/Android/hardware/Camera.Java so that I can use to turn on or turn off the camera shutter sound, but it seems that the Systemproperties.set function doesn't work. Below is my test steps:
After that, the value of cam.sound didn't change.
I think you need prefix name "persist.sys."
And then AndroidManifest.xml add (android:sharedUserId="android.uid.system")
And then Android.mk add (LOCAL_CERTIFICATE :=platform)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With