diff options
author | Winson Chung <winsonc@google.com> | 2020-07-07 14:22:40 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2020-07-07 23:55:23 +0000 |
commit | 69aebfc9ec9e90b898f89e52c164ab83bad94810 (patch) | |
tree | 3906d36de012ab9aef7c0fb44662f760383d9315 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | f15dd752350db8fca730e810cfad7669d6131f81 (diff) |
Tweaking workaround to use fallback with null buffer
- This case still shouldn't ever happen, but we're still
getting crashes. It looks like the call to wrapHardwareBuffer
will always create a hw buffer even if the graphic buffer
is null, and the internal call to wrap the hw buffer may
not have the flags if a null buffer is provided.
Bug: 157562905
Test: Haven't been able to reproduce
Change-Id: Ia61809a4dc53317139446d099cfa262c095d2aea
Merged-In: Ia61809a4dc53317139446d099cfa262c095d2aea
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions