commit | 746c4e23a5be2b4801c441815b72ae3e2a6f5874 | [log] [tgz] |
---|---|---|
author | Kalesh Singh <kaleshsingh@google.com> | Fri Aug 09 13:52:30 2019 -0700 |
committer | Kalesh Singh <kaleshsingh@google.com> | Fri Aug 09 23:31:30 2019 +0000 |
tree | 5cf6e3ccfb2bd53df4b3efa5ec385c74409c7fab | |
parent | 127247f420019f11339c990a0fe5416432ff9b4d [diff] |
Remove new line from read sysfs stats '\n' is appended to most sysfs values in the corresponding 'show' function. A string value read from sysfs will be accompanied by this trailing newline. This causes the output of dumpsys suspend_control --wakelocks and dumpsys suspend_control --suspend_stats to be messy and difficult to read. Test: SystemSuspendUnitTest Change-Id: I08372a6a198d5ed58f400c029ac0efe45e05be6b