summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/EventThread.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2013-04-22 16:55:35 +0200
committer Mathias Agopian <mathias@google.com> 2013-04-22 21:51:28 +0200
commit74d211ae26a0257c6075a823812e40b55aa1e653 (patch)
tree6f3efb9d1587fc0698e27ab007ca88c16f99ba23 /services/surfaceflinger/EventThread.cpp
parentdfc11ac5c2b1b2d4077eaa268a068d18bde36420 (diff)
clean-up/simplify all dump() APIs
remove the scratch buffer parameter and use String8::appendFormat() instead. Change-Id: Ib96c91617c8e7292de87433d15cf6232b7d591b0
Diffstat (limited to 'services/surfaceflinger/EventThread.cpp')
-rw-r--r--services/surfaceflinger/EventThread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/EventThread.cpp b/services/surfaceflinger/EventThread.cpp
index 4d0fc79a16..4126c8a1db 100644
--- a/services/surfaceflinger/EventThread.cpp
+++ b/services/surfaceflinger/EventThread.cpp
@@ -320,7 +320,7 @@ void EventThread::disableVSyncLocked() {
mDebugVsyncEnabled = false;
}
-void EventThread::dump(String8& result, char* buffer, size_t SIZE) const {
+void EventThread::dump(String8& result) const {
Mutex::Autolock _l(mLock);
result.appendFormat("VSYNC state: %s\n",
mDebugVsyncEnabled?"enabled":"disabled");