Commits

Anshul Jain authored 60bb9c9a81b
frameworks/base/telephony: Release wakelock on RIL request send error Android telephony does not release the partial wakelock right away if there is an error in sending the RIL request. The wake lock is released only after EVENT_WAKE_LOCK_TIMEOUT occurs that prevents the phone to go in power collpase. The change is to release the wake lock as soon as the error in send is detected. Also, change RIL#send not not send a request if there is no connection to vendor RIL, as the request will always fail. Change-Id: Ia39a4b9ac12f4064e301a65abfd26409d49babe1