[Issue#] TDIS-1063
[Bug] Web app is not able to rotate when rotation sensor is enabled.
[Cause] screen rotation callback is not registered in wrt
[Solution] set orientation callback for ewk view
Change-Id: I521e266a625c7b4bec2d8a1bc93db37f3ae5e9b2
it->second,
this);
}
+ // EWK Orientation Callback
+ ewk_view_orientation_lock_callback_set(
+ wkView,
+ orientationLockCallback,
+ this);
}
void ViewLogic::ewkClientDeinit(Evas_Object *wkView) {
it->first.c_str(),
it->second);
}
+ ewk_view_orientation_lock_callback_set(
+ wkView,
+ NULL,
+ NULL);
}
bool ViewLogic::createEwkView(Evas* canvas)