commit | 9dc56ace1b3c7e522ec66596017aa87ad558022a | [log] [tgz] |
---|---|---|
author | Rafal Slawik <rslawik@google.com> | Wed Dec 12 15:21:44 2018 +0000 |
committer | Rafal Slawik <rslawik@google.com> | Mon Dec 17 11:40:00 2018 +0000 |
tree | d639b7c9b76dd974700ba17a206595d9389ab97b | |
parent | 407396e3492cc97c4a25ef125a89efc55c910ef0 [diff] |
Fix checking if process name is whitelisted Process name (its command line) returned from procfs contains null bytes and the check if the name is in the whitelist always failed. Trim process name before comparing. Test: atest UidAtomTests#testProcessMemoryState Change-Id: I4e307b7c14d5962aea9fc86a53764f9cc0ebd1b8 Fixes: 120782694