am 692f288a: am e54fbaa2: Merge "ImageWriter: Change detach to sp<GraphicBuffer>" into mnc-dev

* commit '692f288a64d87e426940905c54a874aea6732116':
  ImageWriter: Change detach to sp<GraphicBuffer>
diff --git a/media/jni/android_media_ImageWriter.cpp b/media/jni/android_media_ImageWriter.cpp
index 8c76665..294cd84 100644
--- a/media/jni/android_media_ImageWriter.cpp
+++ b/media/jni/android_media_ImageWriter.cpp
@@ -160,7 +160,7 @@
         // Writer. Do the detach unconditionally for opaque format now. see b/19977520
         if (mFormat == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) {
             sp<Fence> fence;
-            ANativeWindowBuffer* buffer;
+            sp<GraphicBuffer> buffer;
             ALOGV("%s: One buffer is detached", __FUNCTION__);
             mProducer->detachNextBuffer(&buffer, &fence);
         }