Correct you have to reboot.

You could probably verify that by trying to reboot yourself, yes?

On Sun, Aug 15, 2010 at 8:52 AM, Mitar <mmi...@gmail.com> wrote:

> Hi!
>
> We are developing an extension to Android firmware which would allow
> connecting to mesh networks. We would like to add permission which
> would give application direct access to wpa_supplicant sockets and the
> most official way for this it would seem that is adding an XML file
> like following to /system/etc/permissions/:
>
> <permissions>
>  <permission name="android.permission.WPA_SUPPLICANT_CLIENT" >
>  <group gid="wifi" />
>  </permission>
> </permissions>
>
> But after adding such file application which requests this permission
> is still not given wifi group. By reading (huge)
> PackageManagerService.java file it seems that maybe configuration from
> /system/etc/permissions/ is cached? So it is not just enough to add
> this file to live system (and reboot)?
>
> So why is this not enough? Are we missing something? Is there a way to
> reread /system/etc/permissions/ without rebooting?
>
> Best regards
>
>
> Mitar
>
> --
> unsubscribe: 
> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> website: http://groups.google.com/group/android-porting
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to