From 5449fc727fe8af33a34bf0b4eb8d4096434160a0 Mon Sep 17 00:00:00 2001 From: Mathew Inwood Date: Thu, 5 Apr 2018 13:56:39 +0100 Subject: [PATCH] Treat hidden API exemptions as whitelist. Update docs accordingly. Test: m Bug: 64382372 Merged-In: Ief8daf3badeb046b0461a3ebcd289e242d559070 Change-Id: Ief8daf3badeb046b0461a3ebcd289e242d559070 (cherry picked from commit 33d5138e132561d6c3c02fc0e265aa3c158f6798) --- core/java/android/os/ZygoteProcess.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/java/android/os/ZygoteProcess.java b/core/java/android/os/ZygoteProcess.java index 939c190f14801..5718ef92d6cc2 100644 --- a/core/java/android/os/ZygoteProcess.java +++ b/core/java/android/os/ZygoteProcess.java @@ -467,7 +467,8 @@ public class ZygoteProcess { *

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 exemptions) { synchronized (mLock) {