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

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

am bd0db6b4: am 8fde12eb: am c248a6cf: am d9074d1e: am c3cc344d: Merge...

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

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