commit | 4bda1e1e9fefea189476c9185c3dcc95cb04f818 | [log] [tgz] |
---|---|---|
author | Tor Norbye <tnorbye@google.com> | Mon Jul 06 06:26:59 2015 -0700 |
committer | Tor Norbye <tnorbye@google.com> | Mon Jul 06 07:25:08 2015 -0700 |
tree | bc13e7981f1e45ec46fa17daf5496e67b13db716 | |
parent | 9d2579bdc3c3e417dc9c7dfec1c0c759b70c043f [diff] |
Allow @RequiresPermission to be specified on parameters This allows you to express that the permission requirement on a method depends on a given parameter; static analysis tools should then trace the supplied value backwards to see whether it points to a constant which in turn has been annotated with @RequiresPermission. Change-Id: I13bb5d0c15eb3a3a7eaace8ce0bcb0cef34ee5ba