Fixed the bug where user cannot accept ncoming call
[profile/ivi/Modello_Common.git] / css / car / components / incomingCall / incomingCall.js
index ca3a6b6..c9b1aac 100644 (file)
@@ -82,18 +82,18 @@ IncomingCall.prototype.hide = function() {
        }
 };
 /**
- * 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) {