I am working on an android application with a huge source code base. I do not like that my application requires more than a few permissions, and I began to suspect that there are several that are outdated and no longer needed.
Question - How to determine if this is really, and which are really out of date?
I tried to remove the suspicious permission and recompile it (using Eclipse Juno), and hoped that it was compiled to mark it as an error or warning, but it is not.
He also tried to explicitly run Lint in code, and he also did not find it.
An application compiled and run on the device, and, I think, this will lead to an exception of the runtime environment with AccessDenied when the corresponding API will be called with some stream of code.
Is there an efficient way to detect this API without looking at the entire source code or running the application in multiple scenarios?
Thank!
source
share