Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a005ab22 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

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
parent 23941e5c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}