commit | e75926d6dc49878682631508c996e472d79a8d41 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Thu Sep 18 15:24:49 2014 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Tue Sep 23 13:12:00 2014 -0700 |
tree | ebf2abbc215ceaa73a8fc3cd0355759266f3272f | |
parent | f7efd5c6a815b65e5401d51e0e9aae0f459eed72 [diff] |
Move setting the display state out of the critical section. Setting the display power state currently happens while holding the display manager lock. This change moves it out of the lock to ensure other services don't get stuck for several hundred milliseconds. Unfortunately, surface flinger ends up stalled a little later so this only solves part of the problem. Bug: 17623774 Change-Id: I201137c5e7f82c776f28a436845fcf3191fd0ca5