Fix ug default rotation 48/95648/1 accepted/tizen/3.0/common/20161116.143641 accepted/tizen/3.0/ivi/20161116.022301 accepted/tizen/3.0/mobile/20161116.022102 accepted/tizen/3.0/tv/20161116.022145 accepted/tizen/3.0/wearable/20161116.022226 submit/tizen_3.0/20161115.024443
authorHyunho Kang <hhstark.kang@samsung.com>
Fri, 4 Nov 2016 06:09:00 +0000 (15:09 +0900)
committerHyunho Kang <hhstark.kang@samsung.com>
Fri, 4 Nov 2016 06:10:50 +0000 (15:10 +0900)
Default rotation enable for 2.4 consistency

Change-Id: I7ffaa10266819645aa6d16870090a31a21326e7e
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
client/ug-client.c

index c1aa630..d5fbac3 100644 (file)
@@ -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);