Bug:
22701182
Change-Id: I2ec56c55c49401f2f213bbd318e867fd73b37672
"\n" +
"am get-inactive: returns the inactive state of an app.\n" +
"\n" +
- " am send-trim-memory: Send a memory trim event to a <PROCESS>.\n" +
+ "am send-trim-memory: Send a memory trim event to a <PROCESS>.\n" +
"\n" +
"<INTENT> specifications include these flags and arguments:\n" +
" [-a <ACTION>] [-d <DATA_URI>] [-t <MIME_TYPE>]\n" +
@Override
public boolean setProcessMemoryTrimLevel(String process, int userId, int level) {
synchronized (this) {
- final ProcessRecord app = getProcessRecordLocked(process, userId, true);
+ final ProcessRecord app = findProcessLocked(process, userId, "setProcessMemoryTrimLevel");
if (app == null) {
return false;
}