commit | fac1534b73f0b23f3fbcaed220be3661d7feb09f | [log] [tgz] |
---|---|---|
author | Donghyun Cho <donghyun@google.com> | Mon Nov 16 16:15:22 2015 +0900 |
committer | Donghyun Cho <donghyun@google.com> | Wed Dec 02 10:50:00 2015 +0900 |
tree | dab554b54d7c81ee874c58903bed52d162138456 | |
parent | c1e35dc8230b1808597822e4fc9885f91123bb04 [diff] |
MediaSessionCompat: Protect artwork bitmaps from being recycled When an artwork image is updated on pre-L, current RCC implementation recycles an original one, making it inaccessible later. In order to make this behavior fit well with caching, this change clones given bitmaps in the metadata to be set. An original artwork bitmap can remain unrecycled, and RCC will recycle the cloned one later. Bug: 24540321 Change-Id: I7f993330252d55d55884b6195a1f79e9873bfa62