OSDN Git Service

Check recycled when createBitmap
authorCuiping.x.Shu <cuiping.x.shu@sony.com>
Wed, 22 Nov 2017 05:30:31 +0000 (13:30 +0800)
committerXiong Li <xiong.li@sony.com>
Sat, 23 Feb 2019 00:09:26 +0000 (00:09 +0000)
commit0a5c8c15ebc0cfbca8fca6cea684e17c66d73284
tree53fbc69f6789f57c53b6166e384fa873dfdd4a1b
parent037a0879c0ca67dc1f52f1d9a449d47c48197d45
Check recycled when createBitmap

This is to avoid framework crash when application used
the recycled bitmap memory in createBitmap.

Bug:123656975

Change-Id: I98f93ce48c7bc91913d0b31bca1dc0a10eb319d7
graphics/java/android/graphics/Bitmap.java