summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2019-01-03 08:39:38 -0800
committerMark Salyzyn <salyzyn@google.com>2019-01-04 11:43:15 -0800
commit8a5f0817634c4837cb092c00cc3cd0cc41b9cc9b (patch)
tree1aeef7027546e97fb068be3e65da4b47695833c3 /libutils/Unicode.cpp
parentb658ffa2f397bfe6730a4791470476b54b9d645c (diff)
llkd: enhance list properties
Because of the limited length of properties, and to ease the complexity of product and vendor adjustments, the comma separated list properties will use a leading comma to preserve the defaults and add or subtract entries with + and - prefixes respectively. Without the leading comma, the list is explicitly specified as before. Cleanup: - use empty() instead of space() == 0 (or converse if != 0) - if (unlikely) pprocp can not be allocated, to a to_string(ppid) check For testing, observe before and after llkd_unit_test below to confirm leading comma effects for example: livelock: ro.llk.stack=wait_on_page_bit_killable,bit_wait_io,\ __get_user_pages,cma_alloc livelock: ro.llk.stack=...,SyS_openat,... Test: llkd_unit_test Bug: 120983740 Change-Id: Ia3d164c2fdac5295a474c6c1294a34e4ae9d0b61
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions