Skip to content
Commit bc3dac3d authored by John Reck's avatar John Reck
Browse files

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
parent 2ccedbf4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment