commit | cba2792567e06693c96cfeb1a14176ca14add41d | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Fri Jul 12 16:38:47 2019 -0700 |
committer | Chong Zhang <chz@google.com> | Tue Aug 13 11:27:00 2019 -0700 |
tree | 0a5e3f784c12c3ff51bd44710552f14138a8e7fb | |
parent | f165a18a43c3c300bc4fc7f6907d92e444be0d27 [diff] |
Prefer animation in ImageDecoder.decodeDrawable Pass down a flag to prefer animation over still images when decodeDrawble is used. Pass the flag via source to avoid adding this flag to all create/createFrom/ nCreate method variants. Check the flag only in native_create when we actually create the decoder. bug: 120414514 bug: 78868457 Change-Id: I84b4edd0225df9eaa59df8a787bd5902146ab500