summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-05-12 18:37:43 -0700
committerMathias Agopian <mathias@google.com>2010-05-12 18:37:43 -0700
commit75181b42c97bc0e7eab11991cd45d3f83ad9f5d1 (patch)
treec870202f329cbd4668d2b72149554ade455173be
parent7406eafe7f9774e095383d4ea14f776808da562e (diff)
downloadframeworks_base-75181b42c97bc0e7eab11991cd45d3f83ad9f5d1.zip
frameworks_base-75181b42c97bc0e7eab11991cd45d3f83ad9f5d1.tar.gz
frameworks_base-75181b42c97bc0e7eab11991cd45d3f83ad9f5d1.tar.bz2
another attempt at fixing the build
Change-Id: I80b498d1bbb8f9ffcec4f27802be7ae9977f70ac
-rw-r--r--camera/tests/CameraServiceTest/CameraServiceTest.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/camera/tests/CameraServiceTest/CameraServiceTest.cpp b/camera/tests/CameraServiceTest/CameraServiceTest.cpp
index 41670af..cb69534 100644
--- a/camera/tests/CameraServiceTest/CameraServiceTest.cpp
+++ b/camera/tests/CameraServiceTest/CameraServiceTest.cpp
@@ -298,6 +298,7 @@ public:
virtual sp<OverlayRef> createOverlay(
uint32_t w, uint32_t h, int32_t format, int32_t orientation);
virtual sp<GraphicBuffer> requestBuffer(int bufferIdx, int usage);
+ virtual status_t setBufferCount(int bufferCount);
// new functions
void clearStat();
@@ -339,6 +340,11 @@ sp<GraphicBuffer> MSurface::requestBuffer(int bufferIdx, int usage) {
return NULL;
}
+status_t MSurface::setBufferCount(int bufferCount) {
+ INFO(__func__);
+ return NULL;
+}
+
void MSurface::clearStat() {
Mutex::Autolock _l(mLock);
registerBuffersCount = 0;