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
1 file changed