Remove the stopAtPrivileged argument.
It's superfluous now.
Change-Id: I23a3319285eab4858c9dd649aebe22df4139fe28
diff --git a/vm/native/dalvik_system_VMStack.c b/vm/native/dalvik_system_VMStack.c
index 12abf55..8891933 100644
--- a/vm/native/dalvik_system_VMStack.c
+++ b/vm/native/dalvik_system_VMStack.c
@@ -71,7 +71,7 @@
}
/*
- * 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,
@@ -82,7 +82,6 @@
{
/* 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;
@@ -217,7 +216,7 @@
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 },