diff options
author | Hyunho Kang <hhstark.kang@samsung.com> | 2016-11-04 15:09:00 +0900 |
---|---|---|
committer | Hyunho Kang <hhstark.kang@samsung.com> | 2016-11-04 15:10:50 +0900 |
commit | 673334fec025bba47fd2e991c51799991c711a91 (patch) | |
tree | aa8b1615d894f754ac7683d172470b1e01166344 | |
parent | 3e5a3722d1c5eac5ace12892d8b00009949eeefe (diff) | |
download | ui-gadget-1-673334fec025bba47fd2e991c51799991c711a91.tar.gz ui-gadget-1-673334fec025bba47fd2e991c51799991c711a91.tar.bz2 ui-gadget-1-673334fec025bba47fd2e991c51799991c711a91.zip |
Fix ug default rotationsubmit/tizen_3.0/20161115.024443accepted/tizen/3.0/wearable/20161116.022226accepted/tizen/3.0/tv/20161116.022145accepted/tizen/3.0/mobile/20161116.022102accepted/tizen/3.0/ivi/20161116.022301accepted/tizen/3.0/common/20161116.143641
Default rotation enable for 2.4 consistency
Change-Id: I7ffaa10266819645aa6d16870090a31a21326e7e
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
-rw-r--r-- | client/ug-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/ug-client.c b/client/ug-client.c index c1aa630..d5fbac3 100644 --- a/client/ug-client.c +++ b/client/ug-client.c @@ -329,14 +329,14 @@ static int app_create(void *data) } else { LOGE("elm win rotation get error"); } - /* + if (elm_win_wm_rotation_supported_get(win)) { int rots[4] = { 0, 90, 180, 270 }; elm_win_wm_rotation_available_rotations_set(win, (const int*)&rots, 4); } else { LOGW("wm rotation supported get error"); } - */ + evas_object_smart_callback_add(win, "wm,rotation,changed", rotate, data); appcore_set_event_callback(APPCORE_EVENT_LOW_MEMORY, low_memory, ad); |