lmkd_test: set process types am: fce58e9165

Change-Id: Icdfe43af674d3643a3c304c16bc827762151f050
This commit is contained in:
Automerger Merge Worker 2020-03-09 20:03:53 +00:00
commit 8b760ee3d4
1 changed files with 1 additions and 0 deletions

View File

@ -251,6 +251,7 @@ void runMemStressTest() {
params.pid = pid; params.pid = pid;
params.uid = uid; params.uid = uid;
params.oomadj = data->oomadj; params.oomadj = data->oomadj;
params.ptype = PROC_TYPE_APP;
ASSERT_FALSE(lmkd_register_proc(sock, &params) < 0) ASSERT_FALSE(lmkd_register_proc(sock, &params) < 0)
<< "Failed to communicate with lmkd, err=" << strerror(errno); << "Failed to communicate with lmkd, err=" << strerror(errno);
// signal the child it can proceed // signal the child it can proceed