Index: runtime/vm/os_thread_android.cc |
diff --git a/runtime/vm/os_thread_android.cc b/runtime/vm/os_thread_android.cc |
index 5a54c59bbaa53d92ebdb5927dbc19ff548aed893..0ea90e6cdb54ee09af4b238f18c7f1807b0bacf2 100644 |
--- a/runtime/vm/os_thread_android.cc |
+++ b/runtime/vm/os_thread_android.cc |
@@ -188,9 +188,11 @@ ThreadId OSThread::GetCurrentThreadId() { |
} |
+#ifndef PRODUCT |
ThreadId OSThread::GetCurrentThreadTraceId() { |
return GetCurrentThreadId(); |
} |
+#endif // PRODUCT |
ThreadJoinId OSThread::GetCurrentThreadJoinId(OSThread* thread) { |