am 142155b5: am 3377b404: Merge "Fix for bug 7358703 Gmail ANR when trying to compose a message" into jb-mr1-dev
* commit '142155b5cec5dfbde4a875828505cd1434df0d2b': Fix for bug 7358703 Gmail ANR when trying to compose a message
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