summaryrefslogtreecommitdiffstats
path: root/vm/Globals.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-10-11 18:17:50 -0700
committerElliott Hughes <enh@google.com>2012-10-11 18:26:31 -0700
commit0fe885202fc2d1e7f3d34c99ae3487a9a6387be1 (patch)
treeba77ae091157f469bbf3f8aa0a5cd2931fa6cae6 /vm/Globals.h
parent9c789541c5a37dc8c5d12d98b8db74def61e26db (diff)
downloadandroid_dalvik-0fe885202fc2d1e7f3d34c99ae3487a9a6387be1.tar.gz
android_dalvik-0fe885202fc2d1e7f3d34c99ae3487a9a6387be1.tar.bz2
android_dalvik-0fe885202fc2d1e7f3d34c99ae3487a9a6387be1.zip
Don't enforce access checks for overloading for targetSdkVersion < 17.
Still warn, and enforce the missing check for targetSdkVersion >= 17. Bug: 7301030 Change-Id: I8189fcbf222f331b1f80a156b01082d61f1f9362
Diffstat (limited to 'vm/Globals.h')
-rw-r--r--vm/Globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm/Globals.h b/vm/Globals.h
index 565c92a65..3a90ddf89 100644
--- a/vm/Globals.h
+++ b/vm/Globals.h
@@ -124,6 +124,8 @@ struct DvmGlobals {
void (*abortHook)(void);
bool (*isSensitiveThreadHook)(void);
+ int targetSdkVersion;
+
int jniGrefLimit; // 0 means no limit
char* jniTrace;
bool reduceSignals;