From 938e884a1fcc385dba5a41475aad76d8b7189609 Mon Sep 17 00:00:00 2001 From: John Reck Date: Thu, 24 Aug 2017 13:41:59 -0700 Subject: Avoid setting high contrast in every view draw Test: high contrast text still works Change-Id: I6674d1aca8dddf7eb9725a5346aed12ef1dbc195 --- libs/hwui/Properties.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/hwui/Properties.cpp') 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; -- cgit v1.2.3-59-g8ed1b