summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_builder.cc
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2018-02-12 16:44:36 -0800
committerNicolas Geoffray <ngeoffray@google.com>2018-02-14 10:06:03 +0000
commitd7fbc0eb824e495b940dd739404d945a35f01fd3 (patch)
treebec376f405c5bef02d2c61f73c43738b6ef33fff /compiler/optimizing/instruction_builder.cc
parent3bffbe8a8288cf01b7248fffdd320bf688529bcb (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 (cherry picked from commit 9cf8b671a24f55c7e1a1df561d6cce85b45cebd8) Change-Id: Ib5ccb20596c708cedf9b2c05af228463bec2adb1
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
0 files changed, 0 insertions, 0 deletions