In wrtjs patch https://review.tizen.org/gerrit/313614/, move the
new DeviceAPIRouter befroe the XWalkExtension.initialize, but in
new DeviceAPIRouter will use the extensions, so this change lead
many undefined js error.
Now move new DeviceAPIRouter logic behind XWalkExtension.initialize.
Change-Id: Icf7b898777789de2536b18236e4f792360c0fe51
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
global.ssoGuid = wrt.tv?.getSSOGuid();
wrt.security?.dropThreadPrivilege(packageId, serviceId);
-
- deviceApiRouter = new DeviceAPIRouter(id, isGlobalService());
}
wrt.setServiceAppId(id);
});
console.debug(`serviceType : ${global['serviceType']}`)
+ deviceApiRouter = new DeviceAPIRouter(id, isGlobalService());
printAppControlData(id);
ServiceMessage.initConsoleMessageNotification(id);