commit | 4bf7443a44f8d82040d2abf94042b49b122ffe57 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Tue Feb 06 20:55:47 2018 +0000 |
committer | David Brazdil <dbrazdil@google.com> | Wed Feb 07 00:13:48 2018 +0000 |
tree | eea36f9b1114f9dbadd8c4a090c08b3aee245761 | |
parent | bca6e66c4d30e5b9f79f381ee1fd1e29a3d36588 [diff] |
Exempt instrumented processes from hidden API checks Whitebox tradefed tests always run as an instrumentation of their own APK or a shim. This patch passes the information about instrumentation from ActivityManagerService.startInstrumentation() to startProcessLocked() and starts the process with hidden API checks disabled if it is instrumented. Bug: 64382372 Test: cts-tradefed run cts --plan CTS Change-Id: I0fe53fcb2ea9bec26f31c6c23833c58327973f6a