lmkd_test: set process types am: fce58e9165 am: 8b760ee3d4 am: eac5bff2fa am: 29eb290980 am: a4771e32de

Change-Id: I64d68ceec1bbb7c0ac1456cd20d9b94a07d56362
This commit is contained in:
Automerger Merge Worker 2020-03-09 21:48:07 +00:00
commit 8580aeed7c
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