am 0e766de7: Avoid calling scrollBy(0,0) on render

* commit '0e766de7c52d7e375e04676c93a872cb2d6eea63':
  Avoid calling scrollBy(0,0) on render
This commit is contained in:
Diego Perez
2015-09-22 16:56:35 +00:00
committed by Android Git Automerger

View File

@@ -1050,11 +1050,7 @@ public class RenderSessionImpl extends RenderAction<SessionParams> {
}
if (scrollPos != 0) {
view.scrollBy(0, scrollPos);
} else {
view.scrollBy(0, scrollPos);
}
} else {
view.scrollBy(0, scrollPos);
}
if (!(view instanceof ViewGroup)) {