OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3747450
)
Fix build
author
Colin Cross
<ccross@android.com>
Thu, 5 Nov 2015 22:10:47 +0000
(14:10 -0800)
committer
Colin Cross
<ccross@android.com>
Thu, 5 Nov 2015 22:15:18 +0000
(22:15 +0000)
std::abs requires <cstdlib>
Change-Id: I0722340d17aed88c4c8dabcb723d432b05cebedb
libs/hwui/renderthread/CanvasContext.cpp
patch
|
blob
|
history
diff --git
a/libs/hwui/renderthread/CanvasContext.cpp
b/libs/hwui/renderthread/CanvasContext.cpp
index
b6fecb4
..
1b89960
100644
(file)
--- a/
libs/hwui/renderthread/CanvasContext.cpp
+++ b/
libs/hwui/renderthread/CanvasContext.cpp
@@
-44,6
+44,8
@@
#include <fcntl.h>
#include <sys/stat.h>
+#include <cstdlib>
+
#define TRIM_MEMORY_COMPLETE 80
#define TRIM_MEMORY_UI_HIDDEN 20