diff options
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r-- | runtime/runtime.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h index a855a3771b..1486a9ab85 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -896,6 +896,10 @@ class Runtime { return result; } + bool DenyArtApexDataFiles() const { + return deny_art_apex_data_files_; + } + // Whether or not we use MADV_RANDOM on files that are thought to have random access patterns. // This is beneficial for low RAM devices since it reduces page cache thrashing. bool MAdviseRandomAccess() const { @@ -1374,6 +1378,9 @@ class Runtime { // indirection is changed. This is intended only for testing JNI id swapping. bool automatically_set_jni_ids_indirection_; + // True if files in /data/misc/apexdata/com.android.art are considered untrustworthy. + bool deny_art_apex_data_files_; + // Saved environment. class EnvSnapshot { public: |