am 9360da99: am c0a9cd44: Merge "Do not clear IMM#mCurRootView in IMM#finishInputLocked()." into mnc-dev

* commit '9360da997eb4eb2202fa0a3115f0bcfb2c4950f9':
  Do not clear IMM#mCurRootView in IMM#finishInputLocked().
This commit is contained in:
Yohei Yukawa
2015-05-21 22:13:01 +00:00
committed by Android Git Automerger

View File

@@ -801,25 +801,21 @@ public final class InputMethodManager {
mServedInputConnectionWrapper = null;
}
}
/**
* Disconnect any existing input connection, clearing the served view.
*/
void finishInputLocked() {
mCurRootView = null;
mNextServedView = null;
if (mServedView != null) {
if (DEBUG) Log.v(TAG, "FINISH INPUT: " + mServedView);
if (mCurrentTextBoxAttribute != null) {
try {
mService.finishInput(mClient);
} catch (RemoteException e) {
}
}
notifyInputConnectionFinished();
mServedView = null;
mCompletions = null;
mServedConnecting = false;