Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[App Permission] Google's Hidden Optional Permission in Jelly Bean

$
0
0
Hi guy!

I just read about the app ops, which offers granular permission control, but apparently it is kind of primitive.

I did more search in google's own android source tree, and found that the optional permission management has been implemented by Google for a long time(back to Feb 2012). They just hided it for other reasons.

In this patch, they introduced two new APIs: grantPermission(pkg, perm), and revokePermission(pkg, perm)

In another patch, they hided all the stuff in app installer.

However, all the APIs are still available in all versions of Jelly Bean!!! We only need a 3rd party permission manager to utilize these APIs. I think it would be much more elegant than this "app ops". It is also much less intrusive than Xprivacy, pdroid, etc, therefore all rooted jb phones are able to benefit from this without much hassle.

I'm not a programmer, thus can not do it by myself. Anyone want to bring the awesome permission management to all the Jelly Bean users?:)

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>