Merge "Fix a remaining View leak in InputMethodManager." into nyc-dev
am: e470fcf
* commit 'e470fcfeb001d52c4add58f8420709cb6db7e7c4':
Fix a remaining View leak in InputMethodManager.
Change-Id: I9f83e4de49c527d629091ffc6cf13297bdd6df3b
This commit is contained in:
@@ -1348,7 +1348,7 @@ public final class InputMethodManager {
|
|||||||
synchronized (mH) {
|
synchronized (mH) {
|
||||||
if (DEBUG) Log.v(TAG, "onViewDetachedFromWindow: view=" + dumpViewInfo(view)
|
if (DEBUG) Log.v(TAG, "onViewDetachedFromWindow: view=" + dumpViewInfo(view)
|
||||||
+ " mServedView=" + dumpViewInfo(mServedView));
|
+ " mServedView=" + dumpViewInfo(mServedView));
|
||||||
if (mServedView == view && view.hasWindowFocus()) {
|
if (mServedView == view) {
|
||||||
mNextServedView = null;
|
mNextServedView = null;
|
||||||
scheduleCheckFocusLocked(view);
|
scheduleCheckFocusLocked(view);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user