Stabilize hidden API lists
Hidden API lists are auto-generated using a combination of Doclava /Makefile rules and manually curated lists. As OEMs make their own changes to the framework, they might arrive at slightly different lists. This is not desirable as the entire ecosystem should enforce the same rules. This patch adds the files generated by Doclava to the code base, which will stabilize the lists for everyone. The problem is exacerbated by the fact that the Doclava-generated private-dex.txt contains only classes explored by Doclava. This can change rather unexpectedly as OEMs make changes and start/stop using internal classes otherwise only used in unexplored code. If the file is extended, they might start blacklisting new APIs. If the file shrinks, they might start whitelisting APIs they should restrict access to and have trouble passing CTS. (Avoid merging out of pi trees) Test: m ; check that produced lists have not changed Bug: 109824927 Merged-In: I0e9653d9cd7e4b748870bacb6fbcecae535ebb2a Change-Id: I1463a06d6510e7051a64d5d516f4c589638ca11c
Loading
Please register or sign in to comment