diff options
author | Jiyong Park <jiyong@google.com> | 2019-11-17 15:17:53 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2019-12-17 14:20:15 +0900 |
commit | 759a269a65762e89e6ad3d0cb90cc9d2e10ed565 (patch) | |
tree | 77e1952a6a99a35f526a67c225968c78bc222901 /opengl/java | |
parent | 36af0dc32e8d6d66eae27f74a9a127e97c18ae86 (diff) |
Add services-stubs for in-process APIs in services.jar
services-stubs is a stubs library for services.jar. It provides the
in-process APIs that's available inside the system server process
running services.jar.
Currently, all APIs in the jar are hidden by annotating
com.android.server package with @android.annotation.Hide. To add some
APIs,
1) remove package-info.java for com.android.server
2) add package-info.java for other sub packages
3) annotate them with @android.annotation.Hide except for the package
where the newly added APIs are in
This change also added android.annotation.Hide class which can be used
to hide an API without using the @hide javadoc tag. This opens up the
possibility of running metalava over the compiled jar, which is expected
to be much faster than when ran with source files.
Bug: 139391334
Test: m
Test: m services-stubs
Exempt-From-Owner-Approval: cherry-pick from internal
Merged-In: I027b8a22b3e7533f6203aabb9dc3f690e4e842a6
(cherry picked from commit abc72e45c647d6f617ce90b7a5d4a3121c0aa87d)
Change-Id: I027b8a22b3e7533f6203aabb9dc3f690e4e842a6
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions