commit | 1652a2147a40fa9306cbcfabd4a5070eb80f99ce | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Wed May 09 13:43:56 2018 +0100 |
committer | David Brazdil <dbrazdil@google.com> | Wed May 09 17:58:57 2018 +0100 |
tree | 0b03f5069debbea8529c84cc235ce3b631b257e2 | |
parent | ee9a1db6cdbc033d84c7cc79b93dde340a335fa8 [diff] |
Add VMDebug method for allowing reflection from a specific class Adds a native method VMDebug.allowHiddenApiReflectionFrom which takes a Class object and passes it down to the runtime to be exempt from subsequent non-SDK API checks. This only works for Java debuggable processes, throws SecurityException otherwise. This does not work for non-SDK API uses by linking. Bug: 64382372 Test: N/A Change-Id: Ife39c973ddb306cabf648774bb16d8ad26150a2e