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

Commit 0419ebaf authored by Marco Nelissen's avatar Marco Nelissen Committed by Android Git Automerger
Browse files

am 450b713e: am 437e9cc3: Merge "Adjust buffer position after copying" into jb-mr1-dev

* commit '450b713e':
  Adjust buffer position after copying
parents 280e50f1 450b713e
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -413,6 +413,11 @@ public final class Bitmap implements Parcelable {
        }
        }


        nativeCopyPixelsFromBuffer(mNativeBitmap, src);
        nativeCopyPixelsFromBuffer(mNativeBitmap, src);

        // now update the buffer's position
        int position = src.position();
        position += bitmapBytes >> shift;
        src.position(position);
    }
    }


    /**
    /**