summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2023-06-30 12:17:51 -0400
committer John Reck <jreck@google.com> 2023-06-30 12:17:51 -0400
commitbc3dac3d048d5fc70123999d09aa1fe56b7b9968 (patch)
tree458dc9fc7c21eeedb3e3b68fce141505050042db /libs/hwui/FrameInfoVisualizer.cpp
parent2ccedbf4f5acf650f106c83e8ab75186ba0b62d2 (diff)
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
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions