commit | 6dd4552614e0dcddeefde322185fe118f175fa47 | [log] [tgz] |
---|---|---|
author | Christopher Wiley <wiley@google.com> | Fri Feb 05 09:06:30 2016 -0800 |
committer | Christopher Wiley <wiley@google.com> | Fri Feb 05 09:06:30 2016 -0800 |
tree | ad38fbdad14e70e9a07d79400f50f76c82ba74dd | |
parent | 2be113a2489e7d56b21f8ec340198959348012b3 [diff] |
Fix race in AppOpsManager client library If the service stays down for more than 10 seconds, client threads will time out attempting to obtain a reference, and never release the mutex. This causes deadlock on the next attempt to speak with the AppOpsManager. Test: System without AppOpsManager service no longer hangs in camera code. Change-Id: I5a8ac2f0f35345f72c3d2a45b9d1fc5a78d28a51