Skip to content

Commit 6ad4349

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "Fix PerformanceHintManagerTest CTS to check EPERM" into android14-tests-dev
2 parents ae34f16 + 07b54b0 commit 6ad4349

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/tests/os/jni/android_os_cts_PerformanceHintManagerTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ static jstring nativeTestSetThreadsWithInvalidTid(JNIEnv* env, jobject) {
170170
std::vector<pid_t> tids;
171171
tids.push_back(2);
172172
int result = APerformanceHint_setThreads(wrapper.session(), tids.data(), 1);
173-
if (result != EINVAL) {
174-
return toJString(env, "setThreads did not return EINVAL");
173+
if (result != EPERM) {
174+
return toJString(env, "setThreads did not return EPERM");
175175
}
176176
return nullptr;
177177
}

0 commit comments

Comments
 (0)