commit | dfa2a779f1f7661b2053ad5ac390c2822bd213b9 | [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 | 0e3274328db4c9cc475440faa056be413d11cdd8 | |
parent | 12c9e565d83b1eba857b294fd5a718186f7e1555 [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