diff options
author | Miao Wang <miaowang@google.com> | 2017-03-06 09:31:32 -0800 |
---|---|---|
committer | Miao Wang <miaowang@google.com> | 2017-03-06 09:59:06 -0800 |
commit | 33287e8a893821be86b395ce9d5d639cc8a535f3 (patch) | |
tree | 06db8ebec71e90827c21741aa02d2b6289c61835 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions