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

Commit 9eaa9b97 authored by Gilles Debunne's avatar Gilles Debunne Committed by Android Git Automerger
Browse files

am b6b15dca: Merge "TextLine cache is used, even for long lines of text." into honeycomb

* commit 'b6b15dca':
  TextLine cache is used, even for long lines of text.
parents 678c6a35 b6b15dca
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -90,7 +90,6 @@ class TextLine {
        tl.mText = null;
        tl.mPaint = null;
        tl.mDirections = null;
        if (tl.mLen < 250) {
        synchronized(cached) {
            for (int i = 0; i < cached.length; ++i) {
                if (cached[i] == null) {
@@ -99,7 +98,6 @@ class TextLine {
                }
            }
        }
        }
        return null;
    }