title: CopyPixelsFromBuffer works. But decode its ByteArray returns null
body: <pre><code>Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
  bitmap.copyPixelsFromBuffer(byteBuffer);
  // bitmap is valid and can be displayed
  </code></pre>
  
  <p>I extracted the ByteArray from the valid byteBuffer. But it returns null when I tried to decodeByteArray. Can someone explain why it's the case. </p>
  
  <pre><code>byteBuffer.rewind();
  byteBuffer.get(byteArray, 0, byteBuffer.capacity());
  Bitmap bitmap = BitmapFactory.decodeByteArray(byteArray, 0 , byteArray.length);
  // returns null
  </code></pre>