diff options
| author | 2024-09-18 19:52:30 +0000 | |
|---|---|---|
| committer | 2024-09-18 19:52:30 +0000 | |
| commit | bf6aadae0db80fc56bb079319a6394bad0f1c319 (patch) | |
| tree | 9325a7ab2e4482456d8312e6e6766a0b894c3cfc | |
| parent | 204138d098e7a8ca6b0b237fccddf4c6f4fd0068 (diff) | |
| parent | febfdcc1515749c9543164e0c2ea50915d4400b2 (diff) | |
Merge "fix(high contrast text) : Make simplified paint have SRC_OVER blend mode." into main am: febfdcc151
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3160026
Change-Id: Ib625bd7ef572ae21403fed121ea87cf34c85aba9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | libs/hwui/hwui/DrawTextFunctor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/hwui/DrawTextFunctor.h b/libs/hwui/hwui/DrawTextFunctor.h index cfca48084d97..d264058737e5 100644 --- a/libs/hwui/hwui/DrawTextFunctor.h +++ b/libs/hwui/hwui/DrawTextFunctor.h @@ -62,6 +62,7 @@ static void simplifyPaint(int color, Paint* paint) { } paint->setStrokeJoin(SkPaint::kRound_Join); paint->setLooper(nullptr); + paint->setBlendMode(SkBlendMode::kSrcOver); } class DrawTextFunctor { |