Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07bed492 authored by Raph Levien's avatar Raph Levien Committed by Android Git Automerger
Browse files

am e4ee0e31: Merge "Fix bug 14276128 Clipping at bottom of TextView" into klp-modular-dev

* commit 'e4ee0e31':
  Fix bug 14276128 Clipping at bottom of TextView
parents 0fc5f869 e4ee0e31
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);