Merge "Context leaks in EditText causes out of memory"
This commit is contained in:
@@ -256,6 +256,7 @@ public class Editor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getPositionListener().addSubscriber(mCursorAnchorInfoNotifier, true);
|
getPositionListener().addSubscriber(mCursorAnchorInfoNotifier, true);
|
||||||
|
resumeBlink();
|
||||||
}
|
}
|
||||||
|
|
||||||
void onDetachedFromWindow() {
|
void onDetachedFromWindow() {
|
||||||
@@ -265,9 +266,7 @@ public class Editor {
|
|||||||
hideError();
|
hideError();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mBlink != null) {
|
suspendBlink();
|
||||||
mBlink.removeCallbacks(mBlink);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (mInsertionPointCursorController != null) {
|
if (mInsertionPointCursorController != null) {
|
||||||
mInsertionPointCursorController.onDetached();
|
mInsertionPointCursorController.onDetached();
|
||||||
|
|||||||
Reference in New Issue
Block a user