Don't allow protected buffers in Bitmap#wrapHardwareBuffer
HWUI doesn't support protected contexts and it's unlikely to do so, so reject the attempt to create a Bitmap from such a buffer. Test: build & boot, existing usages work fine Bug: 279135360 Change-Id: I0d5efc88a089bf69b4e3bd146fdddf49f784f639
Loading
Please register or sign in to comment