commit | d5686729f15bb64c98e7079bb9b1703f4afea4cf | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Fri Jan 25 14:30:52 2019 -0800 |
committer | Rob Carr <racarr@google.com> | Tue Jan 29 23:32:20 2019 +0000 |
tree | c65cd5f08f15ea991fd48c1c03eb4e6ff4f647b5 | |
parent | 895ce08d6bdb167816f68dce0660295df80437a0 [diff] |
Prevent reallocation of Surface object in copyFrom Previously when we sent the Surface to the client (as opposed to the SurfaceControl) Surface::readFromParcel would take care of reusing the object if the underlying IGBP had not changed. Now that we send the SC and copy it in to the Surface, we need to add similar logic in Surface::copyFrom. Bug: 122588130, 122659537 Test: Manual Change-Id: Id0c8e61a9aff9b3c37b2a783717c15df3b36f175