增加应用在恢复开始时对应用市场的通知

Signed-off-by: zhuruigan <zhuruigan@huawei.com>
Change-Id: I3d7e0c11dcf4ff74e862e7ce55c24baa14f1d006
This commit is contained in:
zhuruigan 2024-01-15 11:58:06 +08:00
parent e3dfe19aa4
commit 2421795798

View File

@ -67,6 +67,8 @@ void SchedScheduler::ExecutingQueueTasks(const string &bundleName)
HILOGE("start");
BConstants::ServiceSchedAction action = sessionPtr_->GetServiceSchedAction(bundleName);
if (action == BConstants::ServiceSchedAction::START) {
// 通知应用市场
reversePtr_->SendAppGalleryNotify(bundleName);
// 注册启动定时器
auto callStart = [reversePtr {reversePtr_}, bundleName]() {
HILOGE("Extension connect failed = %{public}s", bundleName.data());