diff options
author | Clément Julliard <clju@google.com> | 2018-03-27 13:48:27 -0700 |
---|---|---|
committer | Clément Julliard <clju@google.com> | 2018-03-27 13:48:27 -0700 |
commit | a7d2de48684315a88c9e8a5631b51173e747b057 (patch) | |
tree | 4684c4ce8ec5901b4701d7f4ff1b76aedd33f57a /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | d9afdee26f01d1e0277749959094d9f396799a69 (diff) |
Relax constraints on valid ImageReader usage flags
The only allowed format - usage pairs are currently:
* PRIVATE with USAGE_GPU_SAMPLED_IMAGE
* PRIVATE with USAGE_VIDEO_ENCODE
* PRIVATE with USAGE_GPU_SAMPLED_IMAGE | USAGE_VIDEO_ENCODE
* Non-PRIVATE with USAGE_CPU_READ_RARELY
* Non-PRIVATE with USAGE_CPU_READ_OFTEN
This commit enable other cases, ie. PRIVATE with
GRALLOC_USAGE_HW_COMPOSER.
Bug: 77148005
Test: Manually tested it.
Change-Id: I414c25bc62d52a3573461df6cec4d88512509ec4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions