commit | 98c0556f4096698003131a68a8dc70b72b89d210 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Wed Mar 30 13:15:26 2016 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Wed Mar 30 13:15:26 2016 -0700 |
tree | 6c41b23a2f7f33936c2c57122c44b30ae6f5ab2d | |
parent | 0b880795c12954f1b7818c78d6416d47f1df08dc [diff] |
Fix deadlock during user state transitions performReceive() is called with the activity manager lock held. Don't call out to other system services (such as user state callbacks) with the lock held. Post a runnable to the handler instead. Bug: 27589217 Change-Id: I5c2f8debe1ae365682b27af65e0bf02bcce50d4a