Use gralloc1 usage in AHardwareBuffer_describe
GraphicBuffer->getUsage() reports gralloc0 usage bits, convert it to gralloc1 usage first then to AHardwareBuffer bits. Bug: 35114769 Test: AImageReaderCts now passes with CPU_READ_OFTEN case. Change-Id: Id461d9f9e98ccc1db8c4b4da79c61b9aedb417bf
Loading
Please register or sign in to comment