commit | 40c59fdef0087ea0325e447ae0ee113cc8ca7c15 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Wed Jan 31 20:39:37 2018 -0500 |
committer | Leon Scroggins III <scroggo@google.com> | Tue Feb 06 10:21:36 2018 -0500 |
tree | a1eb2bd7e4d0f9fa5c01611c1c4e17b946026300 | |
parent | 34b58512cbec4b77803d412e4ce089a95dd1fec2 [diff] |
Call ImageDecoder directly in ResourcesImpl Test: Existing tests Add a new (hidden) ImageDecoder.Source that accepts an AssetInputStream. This allows us to create an AnimatedImageDrawable without fear of the client closing the stream. Call it from ResourcesImpl instead of Drawable.createFromResourceStream. Change-Id: I07e00ca60c97538335a6310e830b73211fd8e7bb