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
Loading
Please register or sign in to comment