summaryrefslogtreecommitdiff
path: root/libs/hwui/Properties.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2017-08-24 13:41:59 -0700
committerJohn Reck <jreck@google.com>2017-08-24 16:15:58 -0700
commit938e884a1fcc385dba5a41475aad76d8b7189609 (patch)
tree82b62e00c04d34ec9b9118da40f78c6c666a4fee /libs/hwui/Properties.cpp
parent3a58025684a8c379d64bd9968f6549bb11efe753 (diff)
Avoid setting high contrast in every view draw
Test: high contrast text still works Change-Id: I6674d1aca8dddf7eb9725a5346aed12ef1dbc195
Diffstat (limited to 'libs/hwui/Properties.cpp')
-rw-r--r--libs/hwui/Properties.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Properties.cpp b/libs/hwui/Properties.cpp
index acc75393ebcf..fe291d2a4bfe 100644
--- a/libs/hwui/Properties.cpp
+++ b/libs/hwui/Properties.cpp
@@ -51,6 +51,7 @@ int Properties::overrideSpotShadowStrength = -1;
ProfileType Properties::sProfileType = ProfileType::None;
bool Properties::sDisableProfileBars = false;
RenderPipelineType Properties::sRenderPipelineType = RenderPipelineType::NotInitialized;
+bool Properties::enableHighContrastText = false;
bool Properties::waitForGpuCompletion = false;
bool Properties::forceDrawFrame = false;