projects
/
platform
/
core
/
uifw
/
e-mod-tizen-wm-policy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b957a1
)
rotation: added missing pending zone rotation job.
31/117831/1
author
Gwanglim Lee
<gl77.lee@samsung.com>
Tue, 7 Mar 2017 14:25:49 +0000
(23:25 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Tue, 7 Mar 2017 14:25:49 +0000
(23:25 +0900)
The rotation module didn't handle well bunch of pending sensor
values when the LCD is turned on.
Change-Id: I64280c60a0ec4cf5b732dce91fea7908d74123e0
src/rotation/e_mod_rotation_wl.c
patch
|
blob
|
history
diff --git
a/src/rotation/e_mod_rotation_wl.c
b/src/rotation/e_mod_rotation_wl.c
index e1ebabd9d60b631f6b57413dad1793d30e2e0d80..650f5cdb0a5a80d9aafbbd169a5a3ec2f4629c7b 100644
(file)
--- a/
src/rotation/e_mod_rotation_wl.c
+++ b/
src/rotation/e_mod_rotation_wl.c
@@
-853,6
+853,13
@@
_e_client_rotation_list_remove(E_Client *ec)
{
_e_client_rotation_change_done();
}
+ /* handling pending zone rotation job */
+ else if ((eina_list_count(rot.list) == 0) &&
+ (ec->zone->rot.wait_for_done) &&
+ (ec->zone->rot.pending))
+ {
+ e_zone_rotation_update_done(ec->zone);
+ }
}
ec->e.state.rot.ang.next = -1;
ec->changes.rotation = 0;