For not manual rotation app, and menu orientation is portrait mode,
needn't handle conformant change, because app is in the middle of
screen(not full screen), IME can't overlap input-box.
Change-Id: I515e6fb8fd14655cfe1b714a296a40763417f787
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
if (preferred_rotation == 0 &&
orientation_ != ScreenOrientation::LANDSCAPE_PRIMARY)
return false;
+
+ // not manual rotation, and menu orientation is portrait mode, needn't handle
+ // conformant change, because app is in the middle of screen(not full screen),
+ // IME can't overlap input-box
+ if (EINA_TRUE != ecore_evas_wm_rotation_manual_rotation_done_get(
+ GetPlatformCanvas()) &&
+ VconfHandle(kMenuOrientation).Int() == 1) {
+ return false;
+ }
+
return true;
}
gfx::Rect rect(0, 0, width, height);
if (native_window->WillHandleConformantChange()) {
+ LOG(INFO) << "Handle conformant change";
if (ecore_wl2_window_indicator_state_get(wl2_window) ==
ECORE_WL2_INDICATOR_STATE_ON) {
ecore_wl2_window_indicator_geometry_get(