display: modified sensord notification when rotating 53/15053/1
authorGiWoong Kim <giwoong.kim@samsung.com>
Wed, 15 Jan 2014 07:52:57 +0000 (16:52 +0900)
committerGiWoong Kim <giwoong.kim@samsung.com>
Wed, 15 Jan 2014 08:53:19 +0000 (17:53 +0900)
Change-Id: I8520d41f02f66728f50bde4e21917739d1c1986c
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
tizen/src/skin/maruskin_server.c

index 35788d69289fa68fbc6af830cc2d94de058d83c8..63af17461709f20f342fceeb590109f1716d5b4b 100644 (file)
@@ -1016,7 +1016,7 @@ static void* run_skin_server(void* args)
 
                     /* rotation */
                     bool is_rotate = false;
-                    if (is_sensord_initialized == 1 && get_emul_rotation() != rotation_type) {
+                    if (get_emul_rotation() != rotation_type) {
                         set_emul_rotation(rotation_type);
                         is_rotate = true;
                     }
@@ -1028,7 +1028,7 @@ static void* run_skin_server(void* args)
 #endif
 
                     /* after display resizing */
-                    if (is_rotate == true) {
+                    if (is_rotate == true && is_sensord_initialized == 1) {
                         do_rotation_event(rotation_type);
                     }