177381: RequiresPermission does not cascade

When lint checks whether you're holding all the permissions
required by an API, it should also consider any @RequirePermissions
specified on the surrounding method or class as available.

Change-Id: I6396326e26f95aa00d134ca46724ce8ced3d9fdd
5 files changed