commit | 8561545725a21076b5fe97fda7ddd868e4714d4d | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Thu Mar 15 17:45:03 2018 -0700 |
committer | Andreas Gampe <agampe@google.com> | Fri Mar 16 20:03:09 2018 -0700 |
tree | 0fdf4c92c1c930c4b71e3a1a9295ab1a9d6bdd5d | |
parent | 6f71650075c7661da52d8a44f127fe82f19e8084 [diff] |
ART: Change GetOptimizationStatus Do not attempt to load the oat file executable, as this may not be permissible. Instead load it non-executable, and do a status check to predict how a non-encumbered runtime might react to the file. (cherry picked from commit bd3e1cecf449ba9525e78493f3ced838e0f95d5e) Bug: 74403474 Test: m test-art-host Test: Check logcat for denials Merged-In: I8528005564246712d2c540c5ae89b14f37ca9480 Change-Id: I8528005564246712d2c540c5ae89b14f37ca9480