From 148f11328f0eabd821ce1d730b170560b391824e Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Sat, 5 Dec 2009 05:23:05 -0800 Subject: [PATCH] Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search. Fixed AudioPolicyManager::getInput() broken in change ddb78e7753be03937ad57ce7c3c842c52bdad65e so that an invalid IO handle (0) is returned in case of failure. Applied the same correction to getOutput().