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

Commit d4c3b8e1 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

Fix bug #5544127 TextView regression in ICS when setting TextSize dynamically

- nullify cached font metrics when we are nullifying the layouts as a result of changing text size

Change-Id: I372e4fad336de4aac89e1344c3e8d34c4e914f2f
parent 4873dc8f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6077,6 +6077,8 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener

        mSavedMarqueeModeLayout = mLayout = mHintLayout = null;

        mBoring = mHintBoring = null;

        // Since it depends on the value of mLayout
        prepareCursorControllers();
    }