Hello,
I have defined a new property in the AOSP build "persist.name.func" that I would like to set from an application. The application is a system application but when I try to change the property;
SystemProperties.set("persist.name.func","on") I get a message.
"sys_prop: permission denied uid 1000: persist.name.func"
The Android manifest includes:
<uses-permission android:name="android.permission.WRITE_SETTINGS"></uses-permission>
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"></uses-permission>
Why is the system application being denied permission to set the property?
How do I grant permission?
It seems this has worked intermittently but I am not sure why it has stopped working. (or worked in the first place)
I even tried changing the ownership of the property file in /data/property.
Thanks
Allen