Change background color in tv 01/227901/1 accepted/tizen/5.5/unified/20200318.225648 submit/tizen_5.5/20200318.093916
authorSangYong Park <sy302.park@samsung.com>
Tue, 17 Mar 2020 06:09:36 +0000 (15:09 +0900)
committerSangYong Park <sy302.park@samsung.com>
Tue, 17 Mar 2020 06:09:36 +0000 (15:09 +0900)
Apply black instread of transparent to background color after below patch is merged.
(https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/226493/)
That patch made proper background color. so change background color to explicitly
set transparent color.

Change-Id: I6c8b818cc9da243abc4b50975c7d84f779a0e7ae
Signed-off-by: SangYong Park <sy302.park@samsung.com>
wrt_app/src/web_application.js

index 78e2a0f..042d6b8 100755 (executable)
@@ -49,8 +49,8 @@ class WebApplication {
         this.accessiblePath = (wrt.tv ? wrt.tv.getAccessiblePath() : null);
         this.isAlwaysReload = (wrt.tv ? wrt.tv.isAlwaysReload() : false);
         this.multitaskingSupport = (wrt.tv ? wrt.tv.getMultitaskingSupport() : true);
-        this.defaultBackgroundColor = (wrt.tv
-            || (wrt.getPlatformType() === "product_wearable") ? '#000' : '#FFF');
+        this.defaultBackgroundColor = (wrt.tv ? '#0000' :
+            ((wrt.getPlatformType() === "product_wearable") ? '#000' : '#FFF'));
         this.defaultTransparent = (wrt.tv ? true : false);
         this.loadFinished = false;
         this.runningStatus = 'none';