}
/*
- * public static Class<?>[] getClasses(int maxDepth, boolean stopAtPrivileged)
+ * public static Class<?>[] getClasses(int maxDepth)
*
* Create an array of classes for the methods on the stack, skipping the
* first two and all reflection methods. If "stopAtPrivileged" is set,
{
/* note "maxSize" is unsigned, so -1 turns into a very large value */
unsigned int maxSize = args[0];
- //bool stopAtPrivileged = args[1]; // This argument is ignored.
unsigned int size = 0;
const unsigned int kSkip = 2;
const Method** methods = NULL;
Dalvik_dalvik_system_VMStack_getCallingClassLoader2 },
{ "getStackClass2", "()Ljava/lang/Class;",
Dalvik_dalvik_system_VMStack_getStackClass2 },
- { "getClasses", "(IZ)[Ljava/lang/Class;",
+ { "getClasses", "(I)[Ljava/lang/Class;",
Dalvik_dalvik_system_VMStack_getClasses },
{ "getThreadStackTrace", "(Ljava/lang/Thread;)[Ljava/lang/StackTraceElement;",
Dalvik_dalvik_system_VMStack_getThreadStackTrace },