commit | e41dc59657f6345e35587504cff6cf44f6fcaa6e | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Tue Nov 03 10:39:42 2015 -0800 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue Nov 03 10:39:45 2015 -0800 |
tree | a1a4033a58c46286b4e66dcbc9e37ce94e4a2405 | |
parent | 5a9bb74574aecfbf6f36dc716384f31f3180b8f4 [diff] |
Yell if NDC callers are holding bad locks. The current MountService design heavily depends on down-callers not holding any locks, since the vast majority of events are unsolicited and bubble up to the framework. This simple API gives us an easy way to track down people calling while holding a lock they shouldn't be. Bug: 25443096 Change-Id: Ifcbda95f00d5be8c1b88d58ca67927e76c713c3e