diff options
Diffstat (limited to 'runtime/native/dalvik_system_DexFile.cc')
| -rw-r--r-- | runtime/native/dalvik_system_DexFile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/native/dalvik_system_DexFile.cc b/runtime/native/dalvik_system_DexFile.cc index d714206241..9b6fb3e844 100644 --- a/runtime/native/dalvik_system_DexFile.cc +++ b/runtime/native/dalvik_system_DexFile.cc @@ -904,7 +904,7 @@ static void DexFile_setTrusted(JNIEnv* env, jclass, jobject j_cookie) { ScopedObjectAccess soa(env); // Currently only allow this for debuggable apps. - if (!runtime->IsJavaDebuggable()) { + if (!runtime->IsJavaDebuggableAtInit()) { ThrowSecurityException("Can't exempt class, process is not debuggable."); return; } |