mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2025-02-13 19:30:54 +00:00
静态告警修改1225
Signed-off-by: songjindian <songjindian1@huawei.com>
This commit is contained in:
parent
7bc7060d4a
commit
582baad7fe
@ -79,7 +79,7 @@ void SrCommonEventSubscriber::OnReceiveEvent(const EventFwk::CommonEventData &ev
|
||||
};
|
||||
eventHandler_->PostTask(task, "SrCommonEventSubscriber:DeleteBundleInfo");
|
||||
} else {
|
||||
APP_LOGW("warnning, invalid action.");
|
||||
APP_LOGW("invalid action.");
|
||||
}
|
||||
}
|
||||
} // AbilityRuntime
|
||||
|
@ -247,7 +247,8 @@ int ImplicitStartProcessor::GenerateAbilityRequestByAction(int32_t userId,
|
||||
bool withDefault = false;
|
||||
withDefault = request.want.GetBoolParam(SHOW_DEFAULT_PICKER_FLAG, withDefault) ? false : true;
|
||||
|
||||
if (IPCSkeleton::GetCallingUid() == NFC_CALLER_UID && !request.want.GetStringArrayParam(PARAM_ABILITY_APPINFOS).empty()) {
|
||||
if (IPCSkeleton::GetCallingUid() == NFC_CALLER_UID &&
|
||||
!request.want.GetStringArrayParam(PARAM_ABILITY_APPINFOS).empty()) {
|
||||
HILOG_INFO("The NFCNeed caller source is NFC.");
|
||||
ImplicitStartProcessor::QueryBmsAppInfos(request, userId, dialogAppInfos);
|
||||
}
|
||||
@ -318,7 +319,9 @@ int ImplicitStartProcessor::GenerateAbilityRequestByAction(int32_t userId,
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
int ImplicitStartProcessor::QueryBmsAppInfos(AbilityRequest &request, int32_t userId, std::vector<DialogAppInfo> &dialogAppInfos) {
|
||||
int ImplicitStartProcessor::QueryBmsAppInfos(AbilityRequest &request, int32_t userId,
|
||||
std::vector<DialogAppInfo> &dialogAppInfos)
|
||||
{
|
||||
auto bundleMgrHelper = GetBundleManagerHelper();
|
||||
std::vector<AppExecFwk::AbilityInfo> bmsApps;
|
||||
auto abilityInfoFlag = AppExecFwk::AbilityInfoFlag::GET_ABILITY_INFO_DEFAULT
|
||||
@ -357,7 +360,8 @@ int ImplicitStartProcessor::QueryBmsAppInfos(AbilityRequest &request, int32_t us
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
std::vector<std::string> ImplicitStartProcessor::SplitStr(const std::string& str, char delimiter) {
|
||||
std::vector<std::string> ImplicitStartProcessor::SplitStr(const std::string& str, char delimiter)
|
||||
{
|
||||
std::stringstream ss(str);
|
||||
std::vector<std::string> result;
|
||||
std::string s;
|
||||
|
@ -1017,7 +1017,7 @@ int32_t AppMgrServiceInner::KillApplicationByUserIdLocked(const std::string &bun
|
||||
int64_t startTime = SystemTimeMillisecond();
|
||||
std::list<pid_t> pids;
|
||||
if (remoteClientManager_ == nullptr) {
|
||||
HILOG_ERROR("The remoteClientManager_ is nullptr.");
|
||||
HILOG_ERROR("remoteClientManager_ is nullptr.");
|
||||
return ERR_NO_INIT;
|
||||
}
|
||||
auto bundleMgrHelper = remoteClientManager_->GetBundleManagerHelper();
|
||||
|
Loading…
x
Reference in New Issue
Block a user