Support hidden API whitelist generated by class2greylist
Libcore has support for annotating a virtual method which is known to change its return type in a future release. This annotation is recognized by the dexer and a future-proof bridge method is created. This patch integrates changes in class2greylist to support this annotation into the build system and generation of hidden API lists. Calling class2greylist on each boot classpath module now produces two text files instead of one: signatures for greylisting and now also whitelisting. They are passed on to the hidden API list generating rules in frameworks/base. Bug: 112186571 Test: m appcompat, diff public-list.txt whitelist.txt Change-Id: I9861203e6e07a17d50850892ec13880971457d11
Loading
Please register or sign in to comment