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

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

am 8fde12eb: am c248a6cf: am d9074d1e: am c3cc344d: Merge "Release text when...

am 8fde12eb: am c248a6cf: am d9074d1e: am c3cc344d: Merge "Release text when finishing StaticLayout.Builder" into mnc-dev

* commit '8fde12eb':
  Release text when finishing StaticLayout.Builder
parents 3f9fa52b 8fde12eb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -112,6 +112,10 @@ public class StaticLayout extends Layout {
        // release any expensive state
        /* package */ void finish() {
            nFinishBuilder(mNativePtr);
            mText = null;
            mPaint = null;
            mLeftIndents = null;
            mRightIndents = null;
            mMeasuredText.finish();
        }