From 52a11060862133d202b7cfcd5d6b6958e31c4b6b Mon Sep 17 00:00:00 2001 From: David Brazdil Date: Thu, 19 Apr 2018 16:32:48 +0100 Subject: [PATCH] Greylist test API for CtsSliceTestCases The test invokes two hidden methods inside a ContentProvider. Since we cannot exempt those, add the two methods to light greylist until they are made @TestApi. Bug: 64382372 Test: run cts --module CtsSliceTestCases Change-Id: I9bc0c23282c1744f4b93b9d84fcdd022f70859c2 --- config/hiddenapi-light-greylist.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/hiddenapi-light-greylist.txt b/config/hiddenapi-light-greylist.txt index ba3c024f2e0e0..4d7fad47650f7 100644 --- a/config/hiddenapi-light-greylist.txt +++ b/config/hiddenapi-light-greylist.txt @@ -374,6 +374,8 @@ Landroid/app/Service;->setForeground(Z)V Landroid/app/SharedPreferencesImpl;->(Ljava/io/File;I)V Landroid/app/SharedPreferencesImpl;->mFile:Ljava/io/File; Landroid/app/SharedPreferencesImpl;->startReloadIfChangedUnexpectedly()V +Landroid/app/slice/Slice$Builder;->(Landroid/net/Uri;)V +Landroid/app/slice/Slice$Builder;->setSpec(Landroid/app/slice/SliceSpec;)Landroid/app/slice/Slice$Builder; Landroid/app/slice/SliceItem;->getTimestamp()J Landroid/app/slice/SliceManager;->bindSlice(Landroid/net/Uri;Ljava/util/List;)Landroid/app/slice/Slice; Landroid/app/slice/SliceManager;->pinSlice(Landroid/net/Uri;Ljava/util/List;)V