summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRafal Slawik <rslawik@google.com>2018-12-12 15:21:44 +0000
committerRafal Slawik <rslawik@google.com>2018-12-17 11:40:00 +0000
commit9dc56ace1b3c7e522ec66596017aa87ad558022a (patch)
treed639b7c9b76dd974700ba17a206595d9389ab97b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent407396e3492cc97c4a25ef125a89efc55c910ef0 (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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions