Merge "Rectify Boottime property"
This commit is contained in:
commit
7397fa566f
1 changed files with 4 additions and 2 deletions
|
|
@ -849,8 +849,10 @@ static int __mount(const std::string& source, const std::string& target, const F
|
|||
if ((ret == 0) && (mountflags & MS_RDONLY) != 0) {
|
||||
fs_mgr_set_blk_ro(source);
|
||||
}
|
||||
android::base::SetProperty("ro.boottime.init.mount." + Basename(target),
|
||||
std::to_string(t.duration().count()));
|
||||
if (ret == 0) {
|
||||
android::base::SetProperty("ro.boottime.init.mount." + Basename(target),
|
||||
std::to_string(t.duration().count()));
|
||||
}
|
||||
errno = save_errno;
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue