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

Commit 87228cd7 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio Committed by Android (Google) Code Review
Browse files

Merge "Fix bug #5446966 Changing Gravity on a TextView does not change how the...

Merge "Fix bug #5446966 Changing Gravity on a TextView does not change how the text is aligned" into ics-mr0
parents f2894659 9f513847
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2476,6 +2476,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener

        if (gravity != mGravity) {
            invalidate();
            mLayoutAlignment = null;
        }

        mGravity = gravity;