mirror of
https://github.com/openharmony/appexecfwk_standard.git
synced 2026-07-19 14:06:09 -04:00
Signed-off-by: caochunlei <caochunlei1@huawei.com>
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
|
||||
#include "system_ability_definition.h"
|
||||
#include "app_log_wrapper.h"
|
||||
#include "mock_ability_mgr_host.h"
|
||||
|
||||
namespace OHOS {
|
||||
namespace AppExecFwk {
|
||||
@@ -34,9 +33,6 @@ sptr<IRemoteObject> SystemAbilityHelper::GetSystemAbility(const int32_t systemAb
|
||||
if (iter != g_abilities.end()) {
|
||||
return iter->second;
|
||||
}
|
||||
if (systemAbilityId == ABILITY_MGR_SERVICE_ID) {
|
||||
return new (std::nothrow) MockAbilityMgrStub();
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user