From 2507c34d91bb0d722b6012e85cb47387b2aa6873 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Mon, 4 May 2015 14:36:49 -0700 Subject: Cleanup properties bug:19967854 Separate properties from Caches, into static, RenderThread-only class. Also rewrites the means for java to set properties to correctly handle threading, and adds an override for profile bars so that SysUi doesn't clutter the screen with them. Change-Id: I6e21a96065f52b9ecc49d1a126244804ba106fa9 --- libs/hwui/PathCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/PathCache.cpp') diff --git a/libs/hwui/PathCache.cpp b/libs/hwui/PathCache.cpp index bdb44a694118..74964f61d58e 100644 --- a/libs/hwui/PathCache.cpp +++ b/libs/hwui/PathCache.cpp @@ -153,7 +153,7 @@ PathCache::PathCache(): glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); mMaxTextureSize = maxTextureSize; - mDebugEnabled = readDebugLevel() & kDebugCaches; + mDebugEnabled = Properties::debugLevel & kDebugCaches; } PathCache::~PathCache() { -- cgit v1.2.3-59-g8ed1b