Fixed the bug where user cannot accept ncoming call 37/27637/1
authorJimmy Huang <jimmy.huang@intel.com>
Tue, 16 Sep 2014 20:32:49 +0000 (13:32 -0700)
committerJimmy Huang <jimmy.huang@intel.com>
Tue, 16 Sep 2014 20:34:46 +0000 (13:34 -0700)
Update app id of Modello phone app to the newer one used in crosswalk,
this will fix the issue where accepting incoming call doesn't launch
the phone app.

Change-Id: Iad61129f6b95d7804f38832bbb6a66e7079fdd65
Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
css/car/components/incomingCall/incomingCall.js
js/services/bootstrap.js
packaging/modello-common.changes

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) {
index 645e910..91cbc58 100644 (file)
@@ -151,7 +151,7 @@ Bootstrap.prototype.initIncomingCall = function(callback) {
                                                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();
@@ -183,7 +183,7 @@ Bootstrap.prototype.initIncomingCall = function(callback) {
                                                                        case "DIALING".toLowerCase():
                                                                                if (!appId.running) {
                                                                                        /*global launchApplication*/
-                                                                                       launchApplication('intelPoc15.phone');
+                                                                                       launchApplication('Modello009.Phone');
                                                                                }
                                                                                break;
                                                                        case "INCOMING".toLowerCase():
index d3a7b5e..04ed4d8 100644 (file)
@@ -1,3 +1,6 @@
+* Tue Sep 16 2014 Jimmy Huang <jimmy.huang@intel.com> submit/tizen_ivi/20140911.180109-1-g285968a
+- Fixed the bug where user cannot accept ncoming call
+
 * Wed Sep 10 2014 Brian Jones <brian.j.jones@intel.com> accepted/tizen/ivi/20140821.133859-3-gf761b8f
 - Removing space in app name - Fix for TC-1404 Updating tizen.vehicle API to use the new API