commit | 8e8f96738e2a4e673db94a489ba2daf63807bb16 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Mon Jun 05 09:55:40 2017 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Mon Jun 05 14:00:57 2017 -0600 |
tree | c8e2b14dbc00dbf6e4a04021276c23387382ed1b | |
parent | 1a41496282ebef74d8ace27a41c553e32b95f92d [diff] |
Lint to verify @SystemApi permissions; more docs. Most @SystemApi methods should be protected with system (or higher) permissions, so verify that system service methods are annotated with any relevant @RequiresPermission. Auto-document new @SystemService annotation to guide developers on how to obtain manager instances. Test: make -j32 update-api && make -j32 offline-sdk-docs Bug: 62263906 Change-Id: I57ae661241557970af4328ff21abec7629492c7c