commit | 89ef0720ee8e0ac6ae1758faa917e4d6c9606fb4 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Wed Aug 10 16:25:21 2011 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Wed Aug 10 16:25:21 2011 -0700 |
tree | 2c239993b3d2702dd8becc03a738f1b151a4c4f1 | |
parent | ba421dddfd558b34726df5dfbf8a3bf748e285b1 [diff] [blame] |
Add input system to Watchdog. Bug: 5094994 Change-Id: I153866958efc64ac19bda8b997c1c9f6ad425ec4
diff --git a/services/input/EventHub.cpp b/services/input/EventHub.cpp index 0a567fd..960e414 100644 --- a/services/input/EventHub.cpp +++ b/services/input/EventHub.cpp
@@ -1294,4 +1294,11 @@ } // release lock } +void EventHub::monitor() { + // Acquire and release the lock to ensure that the event hub has not deadlocked. + mLock.lock(); + mLock.unlock(); +} + + }; // namespace android