Fix the scroll state for RTL hint text (again).
The issue was that when transitioning from a LTR URL to an empty textview the call to ApiCompatibilityUtils.isLayoutRtl(this) would return false in the initial scroll calculation and then true in the subsequent one. To work around this, we need to track the RTL-ness of the previous scroll to ensure it remains the same before we reuse the previous scroll offset. BUG=871147 Change-Id: I2440ffdd56c4ec9f95b01194e2e4f81f2f8bb572 Reviewed-on: https://chromium-review.googlesource.com/1169526Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#582001}
Showing
Please register or sign in to comment