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

Commit 8ef27577 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android Git Automerger
Browse files

am 1476988e: Default puctuation suggestions have same color

Merge commit '1476988e' into gingerbread-plus-aosp

* commit '1476988e':
  Default puctuation suggestions have same color
parents 37a8c654 1476988e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -247,7 +247,9 @@ public class CandidateView extends View {
                paint.setTypeface(Typeface.DEFAULT_BOLD);
                paint.setColor(mColorRecommended);
                existsAutoCompletion = true;
            } else if (i != 0) {
            } else if (i != 0 || (suggestion.length() == 1 && count > 1)) {
                // HACK: even if i == 0, we use mColorOther when this suggestion's length is 1 and
                // there are multiple suggestions, such as the default punctuation list.
                paint.setColor(mColorOther);
            }
            final int wordWidth;