OSDN Git Service

Greylist cloned SDK fields
authorDavid Brazdil <dbrazdil@google.com>
Tue, 8 May 2018 18:27:13 +0000 (19:27 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Tue, 8 May 2018 18:34:02 +0000 (19:34 +0100)
commitdffafa5b66939e12c2eb4e8b5867b4bd82e2400c
tree58eddc9fa668fa1ef031fcad599ba1d5fd669e0c
parentae4a20c75b84debb4f29cd9099a11a822d2e72ee
Greylist cloned SDK fields

Doclava will expose a field from a hidden interface if it is inherited
by an SDK class by temporarily creating a new FieldInfo object which
pretends the field is in fact declared in the SDK class.

This mechanism was missed by the routine which prints non-SDK APIs
and the fields are considered non-SDK. Until this is fixed, put the
affected fields on the light greylist to unblock CTS tests.

Bug: 64382372
Bug: 73082683
Test: atest CtsCurrentApiSignatureTestCases
Change-Id: Ic10d26b82ad8f324280e0198f1d3e8b0ab824d35
config/hiddenapi-light-greylist.txt