Commits

Zhentao Sun authored cfa496f7cdc
Fixed unreleased wake lock isues and NPE. Fixed b/8834502. Wake lock might not be released when the callback is null. NPE is thrown when the callback is null in some cases too. Change-Id: I27d3af810669e446cfb57aba8715c80cba3e15e7