rotation: fix bug for setting available rotation angles 67/160667/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Fri, 17 Nov 2017 10:41:57 +0000 (19:41 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Fri, 17 Nov 2017 10:42:00 +0000 (19:42 +0900)
commitc4b135a364b443bcf22dfbe1c0588d67fc29dbe5
tree2219157362fdd88654091f8dfb25ca1c2537224f
parent4edd6548a3f07b5a907a8ac5f99cdc1e3bc58518
rotation: fix bug for setting available rotation angles

There was a bug that the angle was changed to wrong angle.
For example, if the window sets available angles to 0 and 90 degree when its current angle is 90,
the window is changed to 0 degree.
We fixed code to maintain current window angle in this case.

Change-Id: I972fc0721edb29b8abc1627ba69da30edbf84d0b
src/rotation/e_mod_rotation_wl.c