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

* commit 'c0a9cd440db7a2881baf5f970eb78aabc11614e3':
  Do not clear IMM#mCurRootView in IMM#finishInputLocked().
This commit is contained in:
Yohei Yukawa
2015-05-21 22:01:33 +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;