commit | 61401e37fd50cd0e3cbb9381d5f8d1295f3d7698 | [log] [tgz] |
---|---|---|
author | Chris Banes <chrisbanes@google.com> | Tue Sep 01 10:14:37 2015 +0100 |
committer | Chris Banes <chrisbanes@google.com> | Tue Sep 01 10:14:37 2015 +0100 |
tree | cc01f3a66b52bbbdeffd552098936f13ef1bbb01 | |
parent | ec87a2af1bf66178ad4a15d900c84d994f1aaba8 [diff] |
Make sure we post setLayerType() calls from AnimationListeners Animation seems to dispatch it's listener callbacks in the main loop, which in this case is in View.draw(). This can leave View's paint in a wierd state and result in the crash. We now post the setLayerType() call avoiding the crash. BUG: 23659571 Change-Id: I0541425e08a6a471faf08e310763d869fd42cb3d