diff options
| author | Sandeep Patil <sspatil@google.com> | 2017-02-24 13:03:39 -0800 |
|---|---|---|
| committer | Sandeep Patil <sspatil@google.com> | 2017-02-24 13:29:33 -0800 |
| commit | cb67998a6daa6324df1ff0d4c05eba6e00755a72 (patch) | |
| tree | f053a6b23cb7b993824c363015c96f8d4bb5ddc7 /libutils/Unicode.cpp | |
| parent | cdbbee1a81e3a50ba931c1d7e8fe9feccb8300d6 (diff) | |
fs_mgr: refactor: consolidate device tree file reading in one place
If Device tree values are read for comparison, they produce false
negatives with std::strings due to trailing '\0'. This change
consolidates the triming of trailing null into a single helper function
to be used everywhere fs_mgr reads DT values for comparison or other
reasons where it wishes to have the trailing null trimmed.
b/27805372
Test: Boot sailfish w/ early mount /vendor
Change-Id: If71efc830dc440323df764c7461867e71ed6515b
Signed-off-by: Sandeep Patil <sspatil@google.com>
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions
