Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9dc56ace authored by Rafal Slawik's avatar Rafal Slawik
Browse files

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
parent 407396e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment