Currently it is all or nothing; you can't accept or deny individual permissions, just the entire app. The code dealing with permissions is in PackageManagerService.java and the front-end UI is in the PackageInstaller app.
On Tue, May 5, 2009 at 7:10 AM, 倪旭东 <[email protected]> wrote: > Hi Members, > Is anyone know where is the source code for the installer in > android? Since the installer decides whether to grant permissions to the > requesting App, based on different protection levels. The question is how > android deals with App if it denies App's permission request. For example, > an App requests bluetooth and Wi-Fi connection ,which are both "dangerous", > if the end-user accepts bluetooth but denies Wi-Fi, how the system to save > the permission label? Or any permission requset fails, the installation also > fails? > > Thanks a lot. > > > Regards, > Xudong > -- 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.
