OSDN Git Service

Populate hidden API dark greylist
authorDavid Brazdil <dbrazdil@google.com>
Tue, 8 May 2018 14:28:31 +0000 (15:28 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Tue, 8 May 2018 16:12:38 +0000 (17:12 +0100)
commit185f00e6677cea3fb135648f4a19d22dec54bbb5
tree8472192c483e8b8abc0dd6548bc66e038dab65e5
parent721bc8e6a8b1350c62b4a570f523541d1ce1124a
Populate hidden API dark greylist

This patch will iterate over all classes in the light greylist and
add the remaining (currently blacklisted) class members into the
dark greylist. This is meant to mitigate the impact of the feature
on legacy apps, in case their hidden API uses have not been detected
by our analyses. The dark greylist entries will be available to apps
targeting pre-P SDK versions, but blocked for apps targeting P or later.

Bug: 64382372
Test: make out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt
Change-Id: Id1ef4ab523b3b4d1333b5fbf2b3e6622ef2be607
Android.mk