am 50620113: am 175264b0: Return NO_MEMORY when glReadPixels() fails.

* commit '5062011324199293942613b0af96c88a650fcc31':
  Return NO_MEMORY when glReadPixels() fails.
This commit is contained in:
Jeff Sharkey 2013-03-06 16:53:24 +00:00 committed by Android Git Automerger
commit 96e383cb10

View File

@ -2815,6 +2815,8 @@ status_t SurfaceFlinger::captureScreenImplLocked(
*h = sh;
*f = PIXEL_FORMAT_RGBA_8888;
result = NO_ERROR;
} else {
result = NO_MEMORY;
}
} else {
result = NO_MEMORY;