commit | ed55c8db1c0d47492423fc54f4b0dd5cd585e593 | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Tue Aug 20 10:05:51 2013 -0700 |
committer | Andy McFadden <fadden@android.com> | Tue Aug 20 11:23:17 2013 -0700 |
tree | bdb2642fabb49dafe2e7102629a9a45b46fa8c3f | |
parent | 58514937628dfcf3b2949e4cbc45d5526ecb8019 [diff] |
Avoid crashing in unlockCanvasAndPost It's possible to update the native surface pointer while the surface is locked (via lockCanvas). This leads to a surprise when the surface is unlocked. Avoid the surprise by tracking the locked surface separately. Bug 10289713 Change-Id: I84346c952be859bbd91ceae7df07b91dabe0948e