From a005ab22426c42143ae66ba87f02d551de7f96dd Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Thu, 25 May 2017 15:44:51 +0100 Subject: jni: Track debuggerd API changes. android_os_Debug calls dump_backtrace_to_file_timeout which now needs an additional argument that specifies the dump type. Bug: 32064548 Test: make Change-Id: Ic4047f4117fee0829d4cb8b1d47ad688b33001dc --- core/jni/android_os_Debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/jni/android_os_Debug.cpp b/core/jni/android_os_Debug.cpp index 68a085191067..821d0e515d09 100644 --- a/core/jni/android_os_Debug.cpp +++ b/core/jni/android_os_Debug.cpp @@ -1035,7 +1035,7 @@ static void android_os_Debug_dumpNativeBacktraceToFileTimeout(JNIEnv* env, jobje return; } - dump_backtrace_to_file_timeout(pid, fd, timeoutSecs); + dump_backtrace_to_file_timeout(pid, kDebuggerdNativeBacktrace, timeoutSecs, fd); close(fd); } -- cgit v1.2.3-59-g8ed1b