HomeScreen used to pass numeric id to WindowManager at application
startup. This change add 1 more parameter (string id).
This is necessary for WindowManager to allow some applications
to run background, related to
https://gerrit.automotivelinux.org/gerrit/#/c/9827/
Bug-AGL: SPEC-395
Change-Id: I90dec40fe0afd7634389b3430349259cc3616005
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
applicationArea.visible = true
appLauncherAreaLauncher.visible = false
applicationArea.visible = true
appLauncherAreaLauncher.visible = false
- layoutHandler.showAppLayer(pid)
+ layoutHandler.showAppLayer(applicationModel.id(loc.index), pid)
}
else {
console.warn("app cannot be launched!")
}
else {
console.warn("app cannot be launched!")
applicationArea.visible = true
appLauncherAreaLauncher.visible = false
layoutHandler.makeMeVisible(pid)
applicationArea.visible = true
appLauncherAreaLauncher.visible = false
layoutHandler.makeMeVisible(pid)
- layoutHandler.showAppLayer(pid)
+ layoutHandler.showAppLayer(model.application, pid)
}
else {
console.warn("app cannot be launched!")
}
else {
console.warn("app cannot be launched!")
delete mp_dBusWindowManagerProxy;
}
delete mp_dBusWindowManagerProxy;
}
-void LayoutHandler::showAppLayer(int pid)
+void LayoutHandler::showAppLayer(const QString &app_id, int pid)
- mp_dBusWindowManagerProxy->showAppLayer(pid);
+ mp_dBusWindowManagerProxy->showAppLayer(app_id, pid);
}
void LayoutHandler::hideAppLayer()
}
void LayoutHandler::hideAppLayer()
- void showAppLayer(int pid);
+ void showAppLayer(const QString &app_id, int pid);
void hideAppLayer();
void makeMeVisible(int pid);
private:
void hideAppLayer();
void makeMeVisible(int pid);
private:
Show layer for application .
-->
<method name="showAppLayer">
Show layer for application .
-->
<method name="showAppLayer">
+ <arg name="name" type="s" direction="in"/>
<arg name="pid" type="i" direction="in"/>
</method>
<!--
<arg name="pid" type="i" direction="in"/>
</method>
<!--