commit | d9c4971da2f2c4f980a748006bd40469c3332a13 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Mon Apr 27 11:06:01 2015 -0700 |
committer | Dan Stoza <stoza@google.com> | Mon Apr 27 11:45:58 2015 -0700 |
tree | 8b8b09aa864be49e6d3783e0c528babede21a808 | |
parent | 63a0f428230208b9f3601eb7c99a08100c6f3a0b [diff] |
libgui: Change detachNextBuffer to return sp<GB> Changes Surface::detachNextBuffer to return an sp<GraphicBuffer> instead of an ANativeWindowBuffer* to ensure that reference counting works correctly. Bug: 20092217 Change-Id: I3979ea6121aaf14845f0554477b778770413581e (cherry picked from commit 8b2daa3ca29492b181fb67840640d771c4a2b3ac)