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:
committed by
David Brazdil
parent
a4ba0e442a
commit
5449fc727f
@@ -467,7 +467,8 @@ public class ZygoteProcess {
|
|||||||
* <p>The list of exemptions will take affect for all new processes forked from the zygote after
|
* <p>The list of exemptions will take affect for all new processes forked from the zygote after
|
||||||
* this call.
|
* 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) {
|
public void setApiBlacklistExemptions(List<String> exemptions) {
|
||||||
synchronized (mLock) {
|
synchronized (mLock) {
|
||||||
|
|||||||
Reference in New Issue
Block a user