commit | 1720626d328003884855097a58ae379e450bde09 | [log] [tgz] |
---|---|---|
author | Andy Huang <ath@google.com> | Tue Aug 20 10:40:55 2013 -0700 |
committer | Andy Huang <ath@google.com> | Tue Aug 20 10:44:14 2013 -0700 |
tree | 88235795d85abb80b972072e38ef827f8cb2ad5f | |
parent | 85275bfabead46ac498c7e94d2f49855faa4342f [diff] |
fix possible duplicate images from bitmap recycling race condition There was a case where a cache hit would not increment the result's ref count in time, which allowed the bitmap to be erroneously reused (becaused poll() looks for refCount=0 bitmaps). Bug: 10253182 Change-Id: I64d8f31c42f2847145c22cd27bcfb5a79f84aa44