Merge "Debug: do not log memtrack_proc_get() failure"

This commit is contained in:
Treehugger Robot
2020-01-22 16:39:00 +00:00
committed by Gerrit Code Review

View File

@@ -193,7 +193,8 @@ static int read_memtrack_memory(struct memtrack_proc* p, int pid,
{
int err = memtrack_proc_get(p, pid);
if (err != 0) {
ALOGW("failed to get memory consumption info: %d", err);
// The memtrack HAL may not be available, do not log to avoid flooding
// logcat.
return err;
}