The system process gets all permissions (it is, after all, the one that manages and enforces permissions). What is the stack crawl of the exception?
On Tue, Jun 23, 2009 at 3:53 PM, Dan Raaka <danra...@gmail.com> wrote: > > System server is starting up other services, however, towards the end, > if we were add any code to access any of the started services, it > throws out a error saying PERMISSION not defined. > > E/SystemServer( 1861): java.lang.SecurityException: Requires > ACCESS_FINE_LOCATION permission > > The general mode is to create an apk with the service and hence we > will have a way to describe the required permissions in the manifest. > However, if we want to do the same in the platform, how can one add > permissions ? and what sort of permissions does SystemServer have (eg. > ACCESS_FINE_LOCATION )? > > > -- 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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---