global.tizen.systeminfo.getPropertyValue("CPU", () => { }, () => { });
// This is for awaking up uv loop.
- dummyTimer = setInterval(() => {
- checkLauncherAlive(id);
- }, 100);
+ if (isGlobalService()) {
+ dummyTimer = setInterval(() => {
+ checkLauncherAlive(id);
+ }, 100);
+ }
if (isServiceApplication()) {
registerExtensionResolver(id);
console.log('message type(' + type + ') params : ' + params);
const app_id = params[0];
if (type === 'startService') {
- require('../common/service_manager').startService(app_id, params[1]);
+ require('../service/service_manager').startService(app_id, params[1]);
event.preventDefault();
} else if (type === 'stopService') {
- require('../common/service_manager').stopService(app_id);
+ require('../service/service_manager').stopService(app_id);
event.preventDefault();
} else if (type === 'hideSplashScreen') {
this.webApplication?.hideSplashScreen(params[0]);