commit | 42b832b6c5d5bc57886626949f3ed9a219a5f800 | [log] [tgz] |
---|---|---|
author | Diego Perez <diegoperez@google.com> | Mon Mar 14 09:31:07 2016 +0000 |
committer | Diego Perez <diegoperez@google.com> | Mon Mar 14 09:31:07 2016 +0000 |
tree | e9778d89bf537a21a2be79dff9c670061a595dd6 | |
parent | 09c1a15bc7a50cae655a4b0c11a7f0c4bc58bac1 [diff] |
Do not deallocate on Bitmap.recycle Layoutlib only disposes the bitmap and doesn't recycle them. This causes a double deallocation that triggers an assertion. This change makes Bitmaps to be only freed when the finalizer is called. Bug: http://b.android.com/203129 Change-Id: Ieabc1443544cfd2b4bf8ba9c8f9a4df8dd6e8220