Reputation: 62
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.
Upvotes: 3
Views: 5028
Reputation: 36
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)
Upvotes: 2