On Sun, Jun 24, 2012 at 6:37 PM, Chris Stratton <[email protected]> wrote:
> On Jun 24, 8:26 pm, Dianne Hackborn <[email protected]> wrote: > > Why do you care if there is a <perms> tag? What is stored in packages.xml > > is an implementation detail; > Yes, but wanting to understand how things work is an endemic amongst > engineers (though this probably is the wrong group to discuss it) > If you are going to post to a group for developing third party applications, asking for details on the implementation of the platform that are irrelevant to writing third party apps, I think it is worth explaining why you are wanting that information. :) Very often people ask for this type of information for very misguided purposes. If it is just curiosity, well okay, though as you say this is the wrong group for such curiosity. > But an interesting one. I've finally managed to find the code that > skips writing out the permissions for system apps. So apparently the > effective permission database is actually held in memory and created > on each android runtime start by processing the apk's. What remains > interesting is why permissions for any apps get written out... > The permissions for third party applications that you have installed are saved, because those are the ones that you saw and confirmed when installing it. This is not relevant for built-in applications. -- Dianne Hackborn Android framework engineer [email protected] 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 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

