Set default background color for product wearable. 68/211768/4 accepted/tizen/unified/20190814.021400 submit/tizen/20190814.020427
authorAron kim <aron.kim@samsung.com>
Fri, 9 Aug 2019 04:11:05 +0000 (21:11 -0700)
committerSangYong Park <sy302.park@samsung.com>
Mon, 12 Aug 2019 10:53:11 +0000 (10:53 +0000)
Change the default background color white to black.

Change-Id: I839cc1ff51e7e849742ce6cbe6da28d5f705eb9c
Signed-off-by: Aron kim <aron.kim@samsung.com>
wrt_app/src/web_application.js

index 8d5ef43..721bd17 100755 (executable)
@@ -49,7 +49,8 @@ class WebApplication {
         this.loadFinished = false;
         this.runningStatus = 'none';
         this.isTVProfile = (wrt.getPlatformType() === "product_tv");
-        this.defaultBackgroundColor = (this.isTVProfile ? '#000' : '#FFF');
+        this.defaultBackgroundColor = (this.isTVProfile
+            || (wrt.getPlatformType() === "product_wearable") ? '#000' : '#FFF');
         this.defaultTransparent = (this.isTVProfile ? true : false);
 
         let self = this;