Package version up (3.0.29).
Change-Id: I6d4071a1e0d1a660b55d1c0c3e1cd6991018a48b
Signed-off-by: Alice Liu <alice.liu@intel.com>
+* 3.0.29
+- Updated Modello Common libraries
+== Alice Liu <alice.liu@intel.com> 2014-09-23
+
* 3.0.28
- Updated Modello Common libraries
== Alice Liu <alice.liu@intel.com> 2014-09-12
-Version:3.0.28
+Version:3.0.29
Maintainer: Wenchao Wang<wenchao.wang@intel.com>
Package:ivi-3.0-web-add-ons
}
};
/**
- * Method accepts incoming call. If application where call is accepted isn't Phone application (`intelPoc15.phone`), then launches Phone application.
- * If apllication where call is accepted is Phone application (`intelPoc15.phone`), call {{#crossLink "Phone/acceptCall:method"}}{{/crossLink}} method.
+ * Method accepts incoming call. If application where call is accepted isn't Phone application (`Modello009.Phone`), then launches Phone application.
+ * If apllication where call is accepted is Phone application (`Modello009.Phone`), call {{#crossLink "Phone/acceptCall:method"}}{{/crossLink}} method.
* @method acceptIncommingCall
*/
IncomingCall.prototype.acceptIncommingCall = function() {
"use strict";
/* todo add call to phone application */
this.hide();
- var appId = getAppByID('intelPoc15.phone');
+ var appId = getAppByID('Modello009.Phone');
/* if app isn't phone */
if (!appId.running) {
- launchApplication('intelPoc15.phone');
+ launchApplication('Modello009.Phone');
/* if app is phone */
} else {
if (typeof(tizen) !== 'undefined' && tizen.phone) {
for (i = 0; i < list.length; i++) {
var app = list[i];
var subName = app.name.substr(7);
- subName = subName.replace(/\./g, "_").replace(/\ /g, "_");
+ subName = subName.replace(/\./g, "").replace(/\ /g, "");
if (app.name.indexOf('Modello') >= 0) {
var newApp = {
id: app.id,
if (typeof(tizen) !== 'undefined' && tizen.phone) {
tizen.phone.addCallChangedListener(function(result) {
/* global getAppByID */
- var appId = getAppByID('intelPoc15.phone');
+ var appId = getAppByID('Modello009.Phone');
var contact;
var activeCall = tizen.phone.activeCall();
case "DIALING".toLowerCase():
if (!appId.running) {
/*global launchApplication*/
- launchApplication('intelPoc15.phone');
+ launchApplication('Modello009.Phone');
}
break;
case "INCOMING".toLowerCase():
console.info("Starting up service CarIndicator");
};
+if (typeof Zone !== 'function')
+{
+ window.Zone = function(){return undefined;};
+}
+
function parseInteger(value) {
"use strict";
return parseInt(value, 10);
var zone = mapping.zone;
var subscribeName = signal;
- if (mapping.subscribeName !== undefined) {
+ if (mapping.subscribeName !== "undefined") {
subscribeName = mapping.subscribeName;
}
if (mapping.callBackPropertyName.toLowerCase() === prop.toLowerCase() && !mapping.subscribeCount) {
- mapping.subscribeCount = typeof (mapping.subscribeCount) === 'undefined' ? 0 : mapping.subscribeCount++;
+ mapping.subscribeCount = typeof (mapping.subscribeCount) === "undefined" ? 0 : mapping.subscribeCount++;
- if (typeof (tizen) !== 'undefined' && tizen.vehicle !== undefined && tizen.vehicle[subscribeName] !== undefined) {
+ if (typeof (tizen.vehicle[subscribeName]) !== "undefined") {
if (!(subscribeName.toString().trim().toLowerCase() === "nightmode" && id === this._listenerIDs[0])) {
if (tizen.vehicle[subscribeName]){
var setUpData = tizen.vehicle[subscribeName].get(zone);
self.onDataUpdate(setUpData, self, id);
}
}
- if (typeof (tizen.vehicle[subscribeName].subscribe) !== undefined)
+ if (typeof (tizen.vehicle[subscribeName].subscribe) !== "undefined")
{
console.log("Modello: Subscribing to AMB signal - " + subscribeName);
tizen.vehicle[subscribeName].subscribe(subscribeCallback, zone);
}
} else {
- if (tizen.vehicle[subscribeName] === undefined)
+ if (typeof (tizen.vehicle[subscribeName]) === "undefined")
console.warn(subscribeName + " is not available to subscribe to");
else
console.warn("Tizen API is not available, cannot subscribe to signal", signal);