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

Commit 3145c43d authored by Mathias Agopian's avatar Mathias Agopian Committed by Android Git Automerger
Browse files

am c7141303: Merge change Id23b791a into eclair

Merge commit 'c7141303' into eclair-mr2

* commit 'c7141303':
  fix [2170283] SurfaceFlinger crashes on OOM.
parents a921bf4e c7141303
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -746,6 +746,8 @@ status_t Surface::getBufferLocked(int index, int usage)
                currentBuffer->setIndex(index);
                mNeedFullUpdate = true;
            }
        } else {
            err = err<0 ? err : NO_MEMORY;
        }
    }
    return err;