feat: 修改自启动应用启动方式
*修改自启动应用启动方式, 采用loader进程先校验应用信息,再拉起应用的方式 *修复launcher模块部分接口导出失败的问题 *增加launcher、dock、loader模块代码注释 Log: 修改自启动应用启动方式 Task: https://pms.uniontech.com/task-view-131611.html Influence: 应用启动方式不同 Change-Id: Ie88027602d1395c6bbad69e610f3639ecc7dfbc1
This commit is contained in:
@ -27,6 +27,7 @@
|
||||
#include "startmanagersettings.h"
|
||||
#include "startmanagerdbushandler.h"
|
||||
#include "meminfo.h"
|
||||
#include "../../service/impl/application_manager.h"
|
||||
|
||||
#include <QFileSystemWatcher>
|
||||
#include <QDebug>
|
||||
@ -47,6 +48,11 @@ StartManager::StartManager(QObject *parent)
|
||||
, dbusHandler(new StartManagerDBusHandler(this))
|
||||
, fileWatcher(new QFileSystemWatcher(this))
|
||||
{
|
||||
am = static_cast<ApplicationManager *>(parent);
|
||||
if (!am) {
|
||||
qWarning() << "StartManager init error";
|
||||
}
|
||||
|
||||
// load sysMemLimitConfig
|
||||
loadSysMemLimitConfig();
|
||||
|
||||
|
Reference in New Issue
Block a user