Loading cmds/installd/utils.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -43,6 +43,7 @@ #define DEBUG_XATTRS 0 using android::base::EndsWith; using android::base::Fdopendir; using android::base::StringPrintf; using android::base::unique_fd; Loading Loading @@ -1036,7 +1037,7 @@ static bool collect_profiles(DIR* d, continue; } DIR* subdir = fdopendir(subdir_fd); DIR* subdir = Fdopendir(std::move(subdir_fd)); if (subdir == nullptr) { PLOG(WARNING) << "Could not open dir path " << local_path; result = false; Loading Loading
cmds/installd/utils.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -43,6 +43,7 @@ #define DEBUG_XATTRS 0 using android::base::EndsWith; using android::base::Fdopendir; using android::base::StringPrintf; using android::base::unique_fd; Loading Loading @@ -1036,7 +1037,7 @@ static bool collect_profiles(DIR* d, continue; } DIR* subdir = fdopendir(subdir_fd); DIR* subdir = Fdopendir(std::move(subdir_fd)); if (subdir == nullptr) { PLOG(WARNING) << "Could not open dir path " << local_path; result = false; Loading