commit | 4b4971b8a31f29e9dd3d27d54a49914a7c3ec1fb | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Fri Jul 25 19:30:05 2014 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Fri Jul 25 19:31:47 2014 -0700 |
tree | 9ffd8fb6b6052b4877adc518bfa7a31b72482dcd | |
parent | 82379ba8ddc04116a40aa177df4ef6c2aa428a69 [diff] |
Fix a deadlock due to AMS calling into WMS with its lock held. The full deadlock cycle involved ActivityManagerService, WindowManagerService, and DevicePolicyManagerService. Fixed by posting the work of enabling the screen to the handler instead of doing it immediately while holding the activity manager lock. Bug: 16578860 Change-Id: I10514cd2df993c7193747ae823e1990a2c34e196