[Title] only popup-menu can make the emulator-window rotation
authorgiwoong.kim <giwoong.kim@samsung.com>
Tue, 27 Dec 2011 02:24:04 +0000 (11:24 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Tue, 27 Dec 2011 02:24:04 +0000 (11:24 +0900)
[Type]feature
[Module] Emualtor / skin
[Priority] minor
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

tizen/src/sensor_server.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 6079677..ddf2f5b
@@ -407,12 +407,12 @@ int sensor_parser(char *buffer)
 
        if(sensord_initialized == 1)
        {
-               if(from_skin == 0)
+               if(from_skin == 1) //skin-packet only
                {
                        if(UISTATE.current_mode > 3)
                                base_mode = 4;
 
-                       switch(rotation)
+                       switch(rotation) //rotate emulator window
                        {
                                case 0:
                                        if(UISTATE.current_mode %4 != 0)