diff options
author | David Brazdil <dbrazdil@google.com> | 2018-02-12 16:44:36 -0800 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2018-02-13 17:07:36 +0000 |
commit | 9cf8b671a24f55c7e1a1df561d6cce85b45cebd8 (patch) | |
tree | 9ee0be9865e2bda92c3f538d0eea998ea094fc0e /test/ProfileTestMultiDex | |
parent | 60e70d85b18631cbb5c9588755355088c4249b1a (diff) |
Refactor hidden API runtime flag from negative to positive
There are only two situations in which we want to enable hidden API
access checks: (a) when forking a non-platform app from zygote, and
(b) when compiling such app with dex2oat. It is easier to cover these
two situations than all the other situations when we want to disable
the checks. Make the flag in Runtime class false by default and only
enable if checks are explicitly requested by the runtime.
Bug: 64382372
Test: boot device, install and run apps, check log messages
Change-Id: I7faf440ed714a5ddd08f6172d370202f0131db50
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions