Fix codex

Signed-off-by: wanchengzhen <wanchengzhen@huawei.com>
This commit is contained in:
wanchengzhen
2022-02-26 18:44:55 +08:00
parent 0009080d87
commit fc04a67992
@@ -576,7 +576,6 @@ int32_t AppMgrServiceInner::GetAllRunningProcesses(std::vector<RunningProcessInf
for (const auto &item : appRunningManager_->GetAppRunningRecordMap()) {
const auto &appRecord = item.second;
int32_t userId = static_cast<int32_t>(appRecord->GetUid() / USER_SCALE);
if ((std::find(ids.begin(), ids.end(), userId) != ids.end()) && (result == ERR_OK)) {
if (isPerm) {
GetRunningProcesses(appRecord, info);