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: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to