From: Guneet K Date: Mon, 5 Feb 2018 06:08:58 +0000 (+0530) Subject: Set background color as black for wearable web apps X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e30287d33646f7ceee6e5bc2df6421bd45b455f;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Set background color as black for wearable web apps Background color is set as black only for watchfaces. Hence default bg color for web apps is white. Call ewk_view_bg_color_set to set background color as black for web apps. Change-Id: I50f8c24f9f735ebb0ef24f49d9e8a1ebdbb11999 Signed-off-by: Guneet K --- diff --git a/runtime/browser/web_application.cc b/runtime/browser/web_application.cc index 4a8434d9f..7a51b7be8 100755 --- a/runtime/browser/web_application.cc +++ b/runtime/browser/web_application.cc @@ -565,10 +565,7 @@ void WebApplication::Launch(std::unique_ptr appcontrol) { vc_webview_->vc_webview_set_view(view->evas_object()); // ewk_view_bg_color_set is not working at webview initialization. - if (common::getProfile() == common::kPROFILE_WEARABLE && - app_data_->app_type() == common::ApplicationData::WATCH) { - view->SetBGColor(0, 0, 0, 255); - } + view->SetBGColor(0, 0, 0, 255); if (appcontrol->data(AUL_K_DEBUG) == "1") { debug_mode_ = true;