Call ewk_view_bg_color_set to set background color as black
for web apps.
Background color is set as black only for watchfaces.
Hence default bg color for web apps is white.
[Reference] http://slp-info.sec.samsung.net/gerrit/#/c/3106551
Change-Id: Iec328524219b009701e394aa71bb8cb588e8378b
Signed-off-by: Guneet K <g.khosla@samsung.com>
}
// 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);
- //}
+ if (common::getProfile() == common::kPROFILE_WEARABLE) {
+ view->SetBGColor(0, 0, 0, 255);
+ }
if (appcontrol->data(AUL_K_DEBUG) == "1") {
debug_mode_ = true;