Updated Modello Common libraries 47/26947/1
authorAlice Liu <alice.liu@intel.com>
Tue, 2 Sep 2014 03:06:25 +0000 (11:06 +0800)
committerAlice Liu <alice.liu@intel.com>
Tue, 2 Sep 2014 03:06:25 +0000 (11:06 +0800)
Package version up (3.0.27).

Change-Id: I0e3aa5de98cd7b8e901072935a9fd60726e2354d
Signed-off-by: Alice Liu <alice.liu@intel.com>
package/changelog
package/pkginfo.manifest
web-ui-fw/0.0.2/0.0.2_Common/original/css/car/components/settings/js/bluetooth.js

index 6a67cac..074a0ae 100644 (file)
@@ -1,3 +1,7 @@
+* 3.0.27
+- Updated Modello Common libraries
+== Alice Liu <alice.liu@intel.com> 2014-09-02
+
 * 3.0.26
 - Updated Modello Common libraries
 == Alice Liu <alice.liu@intel.com> 2014-08-22
index e8113ac..c37a7ea 100644 (file)
@@ -1,4 +1,4 @@
-Version:3.0.26
+Version:3.0.27
 Maintainer: Wenchao Wang<wenchao.wang@intel.com>
 
 Package:ivi-3.0-web-add-ons
index 704747d..3a9a2f8 100644 (file)
@@ -481,6 +481,14 @@ Bluetooth.prototype.loadBluetoothConfig = function() {
 Bluetooth.prototype.getDevice = function(device) {
        "use strict";
        var self = this;
+       if (!self.adapter()) {
+                console.log ("Device is null");
+                console.log ("removing device:", device.address);
+                self.removeDevice(device.address);
+                self.sortDevices();
+                self.saveBluetooth();
+       }
+
        self.adapter().getDevice(device.address, function(dev) {
                // console.log("getDevice ", dev);
                self.addUpdateDevice(dev, false);