commit | 4ed2c9db82607064666e4a9d9bd94f0e740ddfbc | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Mon Jan 22 17:02:48 2018 +0100 |
committer | Jorim Jaggi <jjaggi@google.com> | Mon Jan 22 20:16:53 2018 +0100 |
tree | 3e5deeede7133f17f3fbabc8c2ce0e30c386b57d | |
parent | 599752ed811d9e0a0e5764f3eff62c033bd91948 [diff] |
Make app-controlled animations more robust - Sometimes the system decides to destroy our surface before we have finished animating. While this is a bug in the system, we need to protect ourselves against any crashes in this case by checking getNextFrameNumber() != -1 with the new SystemUI lib. - Apply position of animation target for multi-window open animation. Test: Open Drive multiple times, observe no crash Fixes: 72301120 Change-Id: I47520cea0d11cab109bf6190ea0cc828efc62275