summaryrefslogtreecommitdiffstats
path: root/libs/hwui/thread
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2013-08-21 17:35:38 -0700
committerRomain Guy <romainguy@google.com>2013-08-21 17:35:38 -0700
commit0a8c51b1d0d66d6060afcec1eab33091d49332ae (patch)
tree28e92fa12d2a53e6521469cc8ef6c5024b7cc5b2 /libs/hwui/thread
parent627c6fd91377ead85f74a365438e25610ef1e2ee (diff)
downloadframeworks_base-0a8c51b1d0d66d6060afcec1eab33091d49332ae.zip
frameworks_base-0a8c51b1d0d66d6060afcec1eab33091d49332ae.tar.gz
frameworks_base-0a8c51b1d0d66d6060afcec1eab33091d49332ae.tar.bz2
Properly account for created paths in the cache
Change-Id: I47b89b3085cefab6daac9194e7bfd3c140b37fa2
Diffstat (limited to 'libs/hwui/thread')
-rw-r--r--libs/hwui/thread/TaskManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/thread/TaskManager.cpp b/libs/hwui/thread/TaskManager.cpp
index c8bfd9c..189895c 100644
--- a/libs/hwui/thread/TaskManager.cpp
+++ b/libs/hwui/thread/TaskManager.cpp
@@ -29,7 +29,7 @@ namespace uirenderer {
TaskManager::TaskManager() {
// Get the number of available CPUs. This value does not change over time.
- int cpuCount = sysconf(_SC_NPROCESSORS_ONLN);
+ int cpuCount = sysconf(_SC_NPROCESSORS_CONF);
for (int i = 0; i < cpuCount / 2; i++) {
String8 name;