commit | 7f66873e0edfb9a4ad6b463c2839508f3453ad57 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Wed Feb 21 16:14:37 2018 -0500 |
committer | Leon Scroggins III <scroggo@google.com> | Thu Feb 22 11:23:24 2018 -0500 |
tree | 2e1599d3bf3e037b1e806d096241ca4017b90140 | |
parent | 04fe7e607e8b53c4653b22de4792588421c8a4c6 [diff] |
Fixes for inflating AnimatedImageDrawable Bug: 73529437 Test: I7907f5dd7eb8d4ab72b8e9ddcbcbfc7aa8cb05ae Support AutoMirroring, from inflation and setting manually. Ensure that AnimatedImageDrawable always has a State object, even if it has no mNativePtr. If it has no mNativePtr, throw an Exception when trying to use it. Require that inflation have a valid src, unless it is waiting on a theme (like BitmapDrawable). Change-Id: I5b22cdbf4b57862d6ccc5750a677168287860f9f