Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
postmsg += "}"
if (!onscreen_role_set) {
postmsg += "}"
if (!onscreen_role_set) {
- eventHandler.set_window_poup(onsId, 0, 218)
+ console.log("onscreen_role_set is not set")
+ eventHandler.set_window_popup(onsId, 0, 218)
+ console.log("setting for popup for " + onsId)
onscreen_role_set = true
}
// if the application is not already started, start it
onscreen_role_set = true
}
// if the application is not already started, start it
// if the application is not started, then the first time
// we start we also display it using the default policy engine
pid = eventHandler.start(onsId, postmsg)
// if the application is not started, then the first time
// we start we also display it using the default policy engine
pid = eventHandler.start(onsId, postmsg)
+ console.log("calling eventHandler.start for " + onsId + " with pid " + pid)
} else {
// we just need to display it
} else {
// we just need to display it
+ console.log("calling eventHandler.showWindow for " + onsId)
eventHandler.showWindow(onsId, postmsg)
}
}
eventHandler.showWindow(onsId, postmsg)
}
}
<feature name="urn:AGL:widget:required-permission">
<param name="urn:AGL:permission::public:no-htdocs" value="required"/>
<param name="urn:AGL:permission::public:display" value="required" />
<feature name="urn:AGL:widget:required-permission">
<param name="urn:AGL:permission::public:no-htdocs" value="required"/>
<param name="urn:AGL:permission::public:display" value="required" />
+ <param name="urn:AGL:permission:afm:system:widget:start" value="required" />