commit | 33287e8a893821be86b395ce9d5d639cc8a535f3 | [log] [tgz] |
---|---|---|
author | Miao Wang <miaowang@google.com> | Mon Mar 06 09:31:32 2017 -0800 |
committer | Miao Wang <miaowang@google.com> | Mon Mar 06 09:59:06 2017 -0800 |
tree | 06db8ebec71e90827c21741aa02d2b6289c61835 | |
parent | 3e64003641c376573f4809aae79febd0187be81e [diff] |
[RenderScript] Use ANativeWindow_fromSurface to get ANativeWindow from Java Surface. - ANativeWindow_fromSurface and ANativeWindow_release has to be used in pairs to avoid leaks. Bug: 34396220 Test: mm, CTS tests pass. Change-Id: Id67fd005a056df4d496a48f705d445a2d8c45232