Merge "Remove unmount_tree in VolumeManager." am: 9931db7e59
am: 96707825f2
Change-Id: Ie4995f2ee69811f7b3053708ab0784fc33743218
This commit is contained in:
commit
65eac7fc1a
1 changed files with 1 additions and 5 deletions
|
@ -410,10 +410,6 @@ int VolumeManager::setPrimary(const std::shared_ptr<android::vold::VolumeBase>&
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int unmount_tree(const std::string& prefix) {
|
||||
return android::vold::UnmountTree(prefix);
|
||||
}
|
||||
|
||||
int VolumeManager::remountUid(uid_t uid, const std::string& mode) {
|
||||
LOG(DEBUG) << "Remounting " << uid << " as mode " << mode;
|
||||
|
||||
|
@ -483,7 +479,7 @@ int VolumeManager::remountUid(uid_t uid, const std::string& mode) {
|
|||
_exit(1);
|
||||
}
|
||||
|
||||
unmount_tree("/storage/");
|
||||
android::vold::UnmountTree("/storage/");
|
||||
|
||||
std::string storageSource;
|
||||
if (mode == "default") {
|
||||
|
|
Loading…
Reference in a new issue