commit | 3ba076c2d80c97905850fee94310cd8033310de2 | [log] [tgz] |
---|---|---|
author | Sashidhar Ganiga <sganig@codeaurora.org> | Tue Mar 07 17:30:10 2017 +0530 |
committer | Jackeagle <jackeagle102@gmail.com> | Thu Apr 13 05:09:09 2017 -0400 |
tree | 4aec5383b5696065674994a18011c71796308b5c | |
parent | e445099f8f5d8e848be08f0ffed75e867c1f2a7b [diff] |
Fix for wakelock being held during bootup and idle scenario. On bootup of device, if device is kept idle without unlocking the screen the TCXO does not happen due to "ActivityManager-Sleep" partial wake_lock being held. Fix releases the wakelock irrespective of the result of code flow in checkReadyForSleepLocked() function. Change-Id: I5a61463aa29ac5e94020111b93b7eba2ba170513