commit | 408dc961c4b6861ac88da9a4628c415aecd8289a | [log] [tgz] |
---|---|---|
author | Steven Thomas <steventhomas@google.com> | Fri Feb 07 15:30:10 2020 -0800 |
committer | Steven Thomas <steventhomas@google.com> | Fri Feb 07 15:30:10 2020 -0800 |
tree | d486c3f2405f1dcbc13f4dd115ee939a1f9892d8 | |
parent | 43361f713d1f114e4e3c4c61766472aec458ba99 [diff] |
Fix IllegalArgumentException from Surface.release() ag/9659388 introduced a problem where calling Surface.release() would possibly result in an IllegalArgumentException. Fix the order of deletions in release() to avoid this. Bug: 144862317 Test: Ran a cts test that was failing with the exception, confirmed it no longer fails with this CL in place. Change-Id: Ib3fa67d49457aee304512642afe34ed6a887e6eb