commit | 5fffc1688b3e9d8789a2af3cf74c1286e46b0977 | [log] [tgz] |
---|---|---|
author | Tor Norbye <tnorbye@google.com> | Sun Jul 05 15:48:27 2015 -0700 |
committer | Tor Norbye <tnorbye@google.com> | Sun Jul 05 15:48:27 2015 -0700 |
tree | 2f3dc3624e26e3489b3e91076bbc597771e3d412 | |
parent | 9d7204a987496f936b299f3f70f126ed6b48518a [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: Ifaf3c2517a2c416b00409d646d6ec881c6b7af18