From e9622a3d3ae3ff6f61aa294aa16a0e232e97f09a Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Thu, 20 Sep 2018 11:03:40 +0100 Subject: Add serialization methods to whitelist not light greylist Checked the contents of the hiddenapi lists before and after the change and the methods were definitely moved from light greylist to the whitelist. Flashed the device and checked the log and did not see anything out of the ordinary. Test: frameworks/base/tools/hiddenapi/generate_hiddenapi_lists_test.py Change-Id: I9b4b2426251e99495f65ae02a3c2c32ce6966625 --- tools/hiddenapi/generate_hiddenapi_lists.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/hiddenapi/generate_hiddenapi_lists.py') diff --git a/tools/hiddenapi/generate_hiddenapi_lists.py b/tools/hiddenapi/generate_hiddenapi_lists.py index 6c46e67be63d..fdc800bcc177 100755 --- a/tools/hiddenapi/generate_hiddenapi_lists.py +++ b/tools/hiddenapi/generate_hiddenapi_lists.py @@ -212,8 +212,8 @@ def main(argv): move_from_files(args.input_greylists, uncategorized, light_greylist) move_from_files(args.input_blacklists, uncategorized, blacklist) - # Iterate over all uncategorized members and move serialization API to light greylist. - move_serialization(uncategorized, light_greylist) + # Iterate over all uncategorized members and move serialization API to whitelist. + move_serialization(uncategorized, whitelist) # Extract package names of members from whitelist and light greylist, which # are assumed to have been finalized at this point. Assign all uncategorized -- cgit v1.2.3