From 98ea9d9d82ab078ca10fa7f8e02eddda94cf1d98 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Fri, 19 Oct 2018 14:06:15 -0700 Subject: ART: Refactor for bugprone-argument-comment Handles runtime. Bug: 116054210 Test: WITH_TIDY=1 mmma art Change-Id: Ibc0d5086809d647f0ce4df5452eb84442d27ecf0 --- runtime/native/java_lang_Thread.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/native/java_lang_Thread.cc') diff --git a/runtime/native/java_lang_Thread.cc b/runtime/native/java_lang_Thread.cc index b7f0a7aabc..67ad0a47b8 100644 --- a/runtime/native/java_lang_Thread.cc +++ b/runtime/native/java_lang_Thread.cc @@ -147,7 +147,7 @@ static void Thread_setNativeName(JNIEnv* env, jobject peer, jstring java_name) { bool timed_out; // Take suspend thread lock to avoid races with threads trying to suspend this one. Thread* thread = thread_list->SuspendThreadByPeer(peer, - /* request_suspension */ true, + /* request_suspension= */ true, SuspendReason::kInternal, &timed_out); if (thread != nullptr) { -- cgit v1.2.3-59-g8ed1b