From: GiWoong Kim Date: Wed, 15 Jan 2014 07:52:57 +0000 (+0900) Subject: display: modified sensord notification when rotating X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~513 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F53%2F15053%2F1;p=sdk%2Femulator%2Fqemu.git display: modified sensord notification when rotating Change-Id: I8520d41f02f66728f50bde4e21917739d1c1986c Signed-off-by: GiWoong Kim --- diff --git a/tizen/src/skin/maruskin_server.c b/tizen/src/skin/maruskin_server.c index 35788d6928..63af174617 100644 --- a/tizen/src/skin/maruskin_server.c +++ b/tizen/src/skin/maruskin_server.c @@ -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); }