summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/api1/client2/StreamingProcessor.cpp
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2015-06-09 13:44:19 -0700
committerEino-Ville Talvala <etalvala@google.com>2015-06-09 14:52:26 -0700
commit727d172137b4f32681c098de8e2623c0b65a6406 (patch)
tree8e7a403274d5a770ecd473d6ef66f3a5f32f45da /services/camera/libcameraservice/api1/client2/StreamingProcessor.cpp
parent9a17941fa70e43119d2c3464bc00a3cd30b2bd14 (diff)
downloadframeworks_av-727d172137b4f32681c098de8e2623c0b65a6406.zip
frameworks_av-727d172137b4f32681c098de8e2623c0b65a6406.tar.gz
frameworks_av-727d172137b4f32681c098de8e2623c0b65a6406.tar.bz2
CameraService: Add consumer name to output stream dumpsys
Also switch use of ANativeWindow to Surface, to get to the getConsumerName() method where necessary. Surface can always be cast to ANativeWindow, but not the other way around, so it's a better option anyway. Change-Id: Ie5c2d30821c1a754f9e382699ff50b4b328288b3
Diffstat (limited to 'services/camera/libcameraservice/api1/client2/StreamingProcessor.cpp')
-rw-r--r--services/camera/libcameraservice/api1/client2/StreamingProcessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/api1/client2/StreamingProcessor.cpp b/services/camera/libcameraservice/api1/client2/StreamingProcessor.cpp
index 36d143b..66d7b00 100644
--- a/services/camera/libcameraservice/api1/client2/StreamingProcessor.cpp
+++ b/services/camera/libcameraservice/api1/client2/StreamingProcessor.cpp
@@ -64,7 +64,7 @@ StreamingProcessor::~StreamingProcessor() {
deleteRecordingStream();
}
-status_t StreamingProcessor::setPreviewWindow(sp<ANativeWindow> window) {
+status_t StreamingProcessor::setPreviewWindow(sp<Surface> window) {
ATRACE_CALL();
status_t res;