summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands
diff options
context:
space:
mode:
authorIra Lytvynenko <ILytvynenko@luxoft.com>2018-02-16 13:55:01 +0200
committerIra Lytvynenko (GitHub) <ILytvynenko@luxoft.com>2018-06-26 12:01:45 +0300
commit29df63b5296a71f263952d4075522d019e804fec (patch)
treed49647351fd3c71752ac0bc0838ab18db8adb0ab /src/components/application_manager/src/commands
parent44bb162a73480bfc45f2675897baae456ffcd932 (diff)
downloadsdl_core-29df63b5296a71f263952d4075522d019e804fec.tar.gz
Move GetRCApplications function to RCRPCPlugin
Delete logger initialization from UT Delete logger initialization from UT
Diffstat (limited to 'src/components/application_manager/src/commands')
-rw-r--r--src/components/application_manager/src/commands/command_impl.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/components/application_manager/src/commands/command_impl.cc b/src/components/application_manager/src/commands/command_impl.cc
index 593b8ee398..dbe89b8881 100644
--- a/src/components/application_manager/src/commands/command_impl.cc
+++ b/src/components/application_manager/src/commands/command_impl.cc
@@ -214,21 +214,5 @@ DEPRECATED void CommandImpl::ReplaceHMIByMobileAppId(
}
}
-std::vector<ApplicationSharedPtr> CommandImpl::GetApplications(
- AppExtensionUID uid) {
- ApplicationSet accessor = application_manager_.applications().GetData();
- AppExtensionPredicate predicate;
- predicate.uid = uid;
-
- std::vector<ApplicationSharedPtr> result;
- ApplicationSetConstIt it =
- std::find_if(accessor.begin(), accessor.end(), predicate);
- while (it != accessor.end()) {
- result.push_back(*it);
- it = std::find_if(++it, accessor.end(), predicate);
- }
- return result;
-}
-
} // namespace commands
} // namespace application_manager