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/TextDropShadowCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/TextDropShadowCache.cpp') diff --git a/libs/hwui/TextDropShadowCache.cpp b/libs/hwui/TextDropShadowCache.cpp index c2e88f3..8b1d4cb 100644 --- a/libs/hwui/TextDropShadowCache.cpp +++ b/libs/hwui/TextDropShadowCache.cpp @@ -123,7 +123,7 @@ TextDropShadowCache::~TextDropShadowCache() { void TextDropShadowCache::init() { mCache.setOnEntryRemovedListener(this); - mDebugEnabled = readDebugLevel() & kDebugMoreCaches; + mDebugEnabled = Properties::debugLevel & kDebugMoreCaches; } /////////////////////////////////////////////////////////////////////////////// -- cgit v1.1