commit | 388090fbdd1f38dedf49b12dac425a0807215a02 | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Mon Jan 22 17:03:59 2018 +0100 |
committer | Jorim Jaggi <jjaggi@google.com> | Mon Jan 22 20:08:41 2018 +0000 |
tree | 318e4d36fe26156e380232bbcaa28287acaa4443 | |
parent | 77dad606344a8951552585a3169fccd2ec3ccfd1 [diff] |
Check for surface validity to avoid native crash If the surface gets destroyed, return -1 to indicate such that the client can abort the animation, instead of crashing. Test: With Launcher in multi-window Change-Id: I4ab11557c40ed843a4c2e985a53cc2247b18b5fd