Merge "Fix bug 14276128 Clipping at bottom of TextView" into klp-modular-dev
This commit is contained in:
@@ -654,7 +654,7 @@ public class StaticLayout extends Layout {
|
||||
|
||||
int extra;
|
||||
|
||||
if (needMultiply) {
|
||||
if (needMultiply && end != bufEnd) {
|
||||
double ex = (below - above) * (spacingmult - 1) + spacingadd;
|
||||
if (ex >= 0) {
|
||||
extra = (int)(ex + EXTRA_ROUNDING);
|
||||
|
||||
Reference in New Issue
Block a user