commit | 3e5f001d306a24ca1840293b3d391d95e7518e4b | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Tue Feb 04 11:03:10 2020 -0800 |
committer | Robert Carr <racarr@google.com> | Tue Feb 04 11:07:18 2020 -0800 |
tree | 85aeecef8deb0dcbd2f4548deed265209f83b7e9 | |
parent | 0e33c62efb3250931f63eb451c1c0b01e948cbe7 [diff] |
Fix BLAST Surface release The call to relayout may release the SurfaceControl for us by reading back a null parcel. In this case remove will throw an exception. We could check is valid, but actually we don't need to call remove just release, which doesn't throw an exception if already released. Bug: 146598493 Bug: 148692069 Test: Flip USE_BLAST_ADAPTER device boots. Change-Id: I38ee8df702dc2645ca5da980bebdc5ac32a7a065