summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2017-10-23 15:32:03 -0700
committerWei Wang <wvw@google.com>2017-10-23 16:25:31 -0700
commit25dc30f3be4d3142d0fd0cd2e22e226712e891b7 (patch)
tree8cf961a297290cf4c2e87e8529c23f3ec7f1b92c /libutils/Unicode.cpp
parentc2a2ecb7a58afaf965ddc0a7ad88af9a9a029b3c (diff)
init: call umount unconditionally
std::all_of is using std::find_if, which means, if any element the given predicate returns false, it stops further iteration and just returns false. std::all_of used in Reboot.cpp will cause umount not to be called on all block devices if some block device returns false in the middle. Bug: 68158923 Test: reboot Change-Id: I43ba6bd0c18018c1ed5fe2b63996552bc51cc67c
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions