commit | 64ee8aeaeb70aa2d5d1c3ff57a682a5001869653 | [log] [tgz] |
---|---|---|
author | Mathew Inwood <mathewi@google.com> | Mon Apr 09 12:24:55 2018 +0100 |
committer | Mathew Inwood <mathewi@google.com> | Tue Apr 10 14:14:41 2018 +0100 |
tree | 8fa21a4fd614fc1204d91ad6f04c051950ef4251 | |
parent | 709e67c8ae5d6d2e4d781ec6505c7502f2d7f5fd [diff] |
Consider whitelist when listing class members. Previously, only the enforcement policy was considered when getting declared fields or members, meaning whitelisted APIs would still not be discoverable. Fix this by calling hiddenapi::GetMemberAction from within IsDiscoverable. Bug: 77787686 Bug: 64382372 Test: cts/tests/signature/runSignatureTests.sh (with ag/3863796) Test: art/test.py --host -t 674-hiddenapi Change-Id: I234d274f47f377e3e105c81aae2d49072287992a