Merge "Fix for bug 7358703 Gmail ANR when trying to compose a message" into jb-mr1-dev
This commit is contained in:
@@ -6321,7 +6321,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
||||
if (mDeferScroll >= 0) {
|
||||
int curs = mDeferScroll;
|
||||
mDeferScroll = -1;
|
||||
bringPointIntoView(curs);
|
||||
bringPointIntoView(Math.min(curs, mText.length()));
|
||||
}
|
||||
if (changed && mEditor != null) mEditor.invalidateTextDisplayList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user