Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02035132 authored by Dave Sparks's avatar Dave Sparks Committed by The Android Open Source Project
Browse files

am c4ca4206: Fix build

Merge commit 'c4ca4206'

* commit 'c4ca4206':
  Fix build
parents c8050f8d c4ca4206
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -137,7 +137,7 @@ void JNICameraContext::copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int
        uint8_t *heapBase = (uint8_t*)heap->base();

        if (heapBase != NULL) {
            uint8_t *data = heapBase + offset;
            const jbyte* data = reinterpret_cast<const jbyte*>(heapBase + offset);
            obj = env->NewByteArray(size);
            if (obj == NULL) {
                LOGE("Couldn't allocate byte array for JPEG data");