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

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

am c248a6cf: am d9074d1e: am c3cc344d: Merge "Release text when finishing...

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

* commit 'c248a6cf':
  Release text when finishing StaticLayout.Builder
parents d3399d04 c248a6cf
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();
        }