Updated Vehicle module and changed HD resolution 19/32719/1
authorAlice Liu <alice.liu@intel.com>
Tue, 23 Dec 2014 04:00:54 +0000 (12:00 +0800)
committerAlice Liu <alice.liu@intel.com>
Tue, 23 Dec 2014 04:04:22 +0000 (12:04 +0800)
Workaround simulator loading issue.
Changed IVI HD resolution to 720x1280.

Package version up (2.0.45).

Change-Id: I168c067551c888b7cdc59320a75a2eb380bdf40c
Signed-off-by: Alice Liu <alice.liu@intel.com>
package/changelog
package/pkginfo.manifest
web/cache.manifest
web/ripple.js

index 73d0bee..af9158b 100644 (file)
@@ -1,3 +1,6 @@
+* 2.0.45
+- Updated Vehicle module and changed HD resolution
+== Alice Liu <alice.liu@intel.com> 2014-12-23 12:00
 * 2.0.44
 - Updated Vehicle, MediaServer and Locale module
 == Alice Liu <alice.liu@intel.com> 2014-12-22 19:04
index 769d88a..681bd37 100644 (file)
@@ -1,4 +1,4 @@
-Version:2.0.44
+Version:2.0.45
 Maintainer:hyeongseok heo <hyeong-seok.heo@samsung.com>, gyeongseok seo <gyeongseok.seo@samsung.com>, jihoon song <jihoon80.song@samsung.com>, changhyun lee <changhyun1.lee@samsung.com>, bonyong lee <bonyong.lee@samsung.com>
 
 Package:websimulator-core
index b22ad9e..7d28cc7 100644 (file)
@@ -108,4 +108,4 @@ themes/light/images/ui-icons_454545_256x240.png
 themes/light/images/ui-icons_888888_256x240.png
 themes/light/images/ui-icons_cd0a0a_256x240.png
 themes/light/theme.css
-# Manifest build date: Mon Dec 22 2014 19:00:16 GMT+0800 (CST)
\ No newline at end of file
+# Manifest build date: Tue Dec 23 2014 11:57:10 GMT+0800 (CST)
\ No newline at end of file
index 5e70b56..915009e 100644 (file)
@@ -1,5 +1,5 @@
 /*! 
-  Ripple Mobile Environment Emulator v0.9.8 :: Built On Mon Dec 22 2014 19:00:16 GMT+0800 (CST)
+  Ripple Mobile Environment Emulator v0.9.8 :: Built On Tue Dec 23 2014 11:57:10 GMT+0800 (CST)
 
                                 Apache License
                            Version 2.0, January 2004
@@ -72501,7 +72501,7 @@ module.exports = {
 
     "ppi": 316,
     "browser": ["Generic"],
-    "platforms": ["wac", "web", "phonegap", "tizen", "cordova"],
+    "platforms": ["wac", "web", "phonegap", "tizen", "cordova", "ivi"],
     "userAgent": "Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.7 Safari/533.2"
 };
 
@@ -72666,59 +72666,6 @@ module.exports = {
 };
 
 });
-define('ripple/devices/IVI-HD', function (require, exports, module) {
-/*
- *  Copyright 2012 Intel Corporation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-module.exports = {
-    "id": "IVI-HD",
-    "name": "IVI HD (800x480)",
-    "osName": "Generic",
-    "osVersion": "Generic",
-    "manufacturer": "Tizen",
-    "model": "Generic",
-    "uuid": "42",
-    "firmware": "Generic",
-
-    "screen": {
-        "width": 800,
-        "height": 480
-    },
-    "viewPort": {
-        "portrait": {
-            "width": 1024,
-            "height": 640,
-            "paddingTop": 0,
-            "paddingLeft": 0
-        },
-        "landscape": {
-            "width": 640,
-            "height": 1024,
-            "paddingTop": 0,
-            "paddingLeft": 0
-        }
-    },
-
-    "ppi": 316,
-    "browser": ["Generic"],
-    "platforms": ["ivi"],
-    "userAgent": "Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.7 Safari/533.2"
-};
-
-});
 define('ripple/devices/Legend', function (require, exports, module) {
 /*
  *  Copyright 2011 Research In Motion Limited.
@@ -74289,7 +74236,6 @@ _self = module.exports = {
             "FWVGA",
             "G1",
 */          "FULL-HD",
-            "IVI-HD",
             "Wearable-HD",
             "TV-HD",
             "tizen-WVGA",
@@ -83547,6 +83493,7 @@ event.on("vehicle-subscribe-response", function(propertyObj) {
         for (handle in _data[property]) {
             success = _data[property][handle];
             value = new VehicleFactory(property, propertyObj.val);
+
             value['interfaceName'] = property; 
 
             success(value);
@@ -83615,6 +83562,11 @@ function VehicleInterface (property) {
         zone = zone ? zone : 0;
         t.Vehicle("get", arguments);
 
+        //this is a tempoary work around method
+        if (_data.cache == null) {
+            _data.cache = _data.data;
+        }
+
         var data = {
             then: function (resolve, reject) {
                 var data;
@@ -84885,7 +84837,7 @@ BatteryStatus = function (propertyTypes) {
     batteryStatus.zone = propertyTypes.zone || 0;
 
     //this is a temporary work around method
-    if(batteryStatus.chargeLevel == null) {
+    if (batteryStatus.chargeLevel == null) {
         batteryStatus.chargeLevel = batteryStatus.current;
     }