commit | 03be681d485ec5e86052e764a1120a5953e86cdf | [log] [tgz] |
---|---|---|
author | Fabien Sanglard <sanglardf@google.com> | Tue Jan 31 12:14:57 2017 -0800 |
committer | Fabien Sanglard <sanglardf@google.com> | Tue Jan 31 12:21:23 2017 -0800 |
tree | 86ac903502aaef5e9db5dca7192adc1d5b316a3a | |
parent | 57a67bdcb8d716c2d6467151b14a991370c8582e [diff] |
Set cache dirty on layer creation/destruction The adapter misses an edge cases where a transaction both destroys and creates a layer. Under these conditions, assignHwc1LayerIds() is not called. mHwc1LayerMap contains reference to destroyed layers and ultimately lead to segfault. Test: Angler eng device and AUPT. Change-Id: I96bcbabf74a80cc87df796c0bc84b84e2bda8614