summaryrefslogtreecommitdiff
path: root/runtime/native/java_lang_Thread.cc
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-12-23 08:22:28 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-12-23 08:22:28 +0000
commitf9da627a42193f596d33d799bf323fced18214c5 (patch)
treee60b0a64a2b342e96f6b886ec3e2e453e494e567 /runtime/native/java_lang_Thread.cc
parentc9e29fdcac7b0a28581289d33de5f7ffa80077b9 (diff)
parent0c5adfaaa09b234ea4a11a28b931c91c3d68f423 (diff)
Snap for 8024443 from 0c5adfaaa09b234ea4a11a28b931c91c3d68f423 to s-keystone-qcom-release
Change-Id: I5053cbf9ad9e0aab97fc39d1d19505e0bb2936cb
Diffstat (limited to 'runtime/native/java_lang_Thread.cc')
-rw-r--r--runtime/native/java_lang_Thread.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/native/java_lang_Thread.cc b/runtime/native/java_lang_Thread.cc
index 37b3fe642e..c3b4fe09de 100644
--- a/runtime/native/java_lang_Thread.cc
+++ b/runtime/native/java_lang_Thread.cc
@@ -148,7 +148,6 @@ 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,
SuspendReason::kInternal,
&timed_out);
if (thread != nullptr) {