summaryrefslogtreecommitdiffstats
path: root/camera/camera2/CaptureRequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'camera/camera2/CaptureRequest.cpp')
-rw-r--r--camera/camera2/CaptureRequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/camera/camera2/CaptureRequest.cpp b/camera/camera2/CaptureRequest.cpp
index 57e5319..d5e1c5b 100644
--- a/camera/camera2/CaptureRequest.cpp
+++ b/camera/camera2/CaptureRequest.cpp
@@ -106,7 +106,7 @@ status_t CaptureRequest::writeToParcel(Parcel* parcel) const {
sp<IBinder> binder;
if (surface != 0) {
- binder = surface->getIGraphicBufferProducer()->asBinder();
+ binder = IInterface::asBinder(surface->getIGraphicBufferProducer());
}
// not sure if readParcelableArray does this, hard to tell from source