summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2016-08-03 14:20:41 -0700
committerMark Salyzyn <salyzyn@google.com>2016-08-08 10:19:48 -0700
commitae84704c62c515203d0d7edf370f40ca1a6a6dc4 (patch)
treecd1edf5ffe2c3e8213980e5d770fd49dfc397e4a /libutils/Unicode.cpp
parentb9d06a25987bef7ec0f5206ee67b5604f79adcba (diff)
logcat: add --id=<id> for -f option
Clear file rotate content if id signature changes. This allows logcatd to detect change of property ro.build.id to reset the recorded data. The id is stored in the the -f filespec as <filespec>.id. If the id file is missing or unreadable, do not clear. Allow an API where chmod 0 to the id file blocks this feature. Does not work for root. Add logcat.logrotate_id gTest. Bug: 30591615 Change-Id: I895749ca7c6d4af57ec57f058a29d8e3af2f8b27
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions