diff options
author | Clément Julliard <clju@google.com> | 2020-07-31 03:20:13 +0000 |
---|---|---|
committer | Clément Julliard <clju@google.com> | 2020-07-31 21:44:35 +0000 |
commit | cc217e3b8c290527c4e0b7798ab6af6f10b0caeb (patch) | |
tree | 34ca8eae96bf5b36b5d3acdfc1b5ff43157ec18b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a38a7a167937b6ebb4526cb36f26a2b3dab39e86 (diff) |
Pass WRITE usage flag to the mapper if ImageReader was created with a
WRITE usage flag.
Since some producers rely on these buffers being unchanged (eg. for
partial rendering), this feature should be used with caution. A warning
to this effect was added in the Javadoc.
Bug: 162287616
Test: built emulator, confirmed no SIGSEGV anymore (b/162287616 fixed).
Change-Id: Ia1f8b8754b0d6ae75a2af33147645e744d593d82
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions