commit | c8ba260b4d3201fb05fa4ed553cc7b6e7fed9d06 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Wed Jun 17 17:16:01 2020 -0700 |
committer | Winson Chung <winsonc@google.com> | Thu Jun 18 16:33:24 2020 +0000 |
tree | 7218801cfb68e2471bdda6dfc7445774f04b424d | |
parent | 410ddb910030a8b3583ab372e3cea1fee7058914 [diff] |
Workaround for crash from invalid snapshot - wrapHardwareBuffer will throw an illegal argument exception when the buffer doesn't have this flag, but it's not clear how this happens yet because all the buffers should be from surface flinger snapshots... Bug: 157562905 Test: Manual Change-Id: I48be367d8aafb3e17f11a73a73432617a247c0dd Merged-In: I48be367d8aafb3e17f11a73a73432617a247c0dd