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

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to