summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2018-06-01 12:39:50 -0700
committerJohn Reck <jreck@google.com>2018-06-01 12:55:13 -0700
commit44fc6317f11d75b8126a52a763c415c4fabd6ff4 (patch)
tree498d7e511873407b51597419db9b9c450544626c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1031bf5f761304987e6a2c5bbb5743a65c3253bf (diff)
Ensure picture isn't recording in createBitmap
Picture#draw() will silently due an #endRecording() if it wasn't called. Bitmap.createBitmap doesn't do this until after it's too late. So do an up-front #endRecording() to ensure state is good to go Bug: 80539264 Test: HardwareBitmapTests#testReadbackThroughPictureNoEndRecording Change-Id: Ic66c41462e88880b73c5093d7541c4ce3d71adeb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions