Those permissions have the signatureOrSystem protection flag. This
means you have to either be located on the system image or be signed
by the same key as the OS to be able to use those.

On Thu, Apr 21, 2011 at 2:53 PM, Neo Apostol <[email protected]> wrote:
> Hi there,
> Explain me please, Why I can't create settings of the proxy server with help
> of method:
>
> //Main.java
> Settings.Secure.putString(getContentResolver(), Settings.Secure.HTTP_PROXY,
> param);
>
> //AndroidManifest
> <permission
> android:name="android.permission.WRITE_SECURE_SETTINGS"
> android:protectionLevel="signatureOrSystem">
> </permission>
>
> <permission
> android:name="android.permission.WRITE_SETTINGS"
> android:protectionLevel="signatureOrSystem">
> </permission>
>
> <uses-permission
> android:name="android.permission.WRITE_SETTINGS" >
> </uses-permission>
>
> <uses-permission
> android:name="android.permission.WRITE_SECURE_SETTINGS" >
> </uses-permission>
>
> Thank You.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Security Discussions" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/android-security-discuss?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-security-discuss?hl=en.

Reply via email to