Treat hidden API exemptions as whitelist.

Update docs accordingly.

Test: m
Bug: 64382372
Merged-In: Ief8daf3badeb046b0461a3ebcd289e242d559070
Change-Id: Ief8daf3badeb046b0461a3ebcd289e242d559070
(cherry picked from commit 33d5138e13)
This commit is contained in:
Mathew Inwood
2018-04-05 13:56:39 +01:00
committed by David Brazdil
parent a4ba0e442a
commit 5449fc727f

View File

@@ -467,7 +467,8 @@ public class ZygoteProcess {
* <p>The list of exemptions will take affect for all new processes forked from the zygote after
* this call.
*
* @param exemptions List of hidden API exemption prefixes.
* @param exemptions List of hidden API exemption prefixes. Any matching members are treated as
* whitelisted/public APIs (i.e. allowed, no logging of usage).
*/
public void setApiBlacklistExemptions(List<String> exemptions) {
synchronized (mLock) {