summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorZhijun He <zhijunhe@google.com>2016-02-17 17:24:04 -0800
committerZhijun He <zhijunhe@google.com>2016-02-17 17:24:04 -0800
commit9cc3f881df13583c93ca08668281413be6412414 (patch)
tree74149946b40550ea9a96e7e92a406e28078a3dd3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6f4de5b6a15c8122a6412270f8e5dc90f5122f93 (diff)
ImageReader: override the flexible YUV compatible formats
For gralloc HAL v0.1 devices, if the producer buffer format is NV21 or YV12, the returned flexFormat will be NV21 or YV12, which causes CTS failure for ImageReader decoder test. This change overrides the NV21 or YV12 image formats to HAL_PIXEL_FORMAT_YCbCr_420_888 for such case. With this, the ImageReader will work for the devices with older gralloc HAL implementations for HAL_PIXEL_FORMAT_YCbCr_420_888 compatible formats. Bug: 27136665 Change-Id: Ib4722f1f8dc20ad6561088755e4ab9d2e68f1b47
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions