commit | da23820f401322c61738af6c680dd06ae0cf8188 | [log] [tgz] |
---|---|---|
author | Miranda Kephart <mkephart@google.com> | Wed Jun 09 14:36:37 2021 -0400 |
committer | Miranda Kephart <mkephart@google.com> | Thu Jun 17 15:43:56 2021 -0400 |
tree | eb815d98586a743b613d9fd083cfa0ead742d641 | |
parent | 0d5d58a15fb2baf4b975aa01447c79968fc7618c [diff] |
End screenshot animation early on layout change If the phone configuration changes (e.g. we switch orientations) mid-animation into the corner, the destination bounds are no longer correct, so we end up in a weird state. Ending the screenshot animation early on configuration changes fixes this problem. Bug: 190545541 Fix: 190545541 Test: manual (take screenshot in landscape, rotate while animation is happening, observe results) Change-Id: I53c44263f7994ee6c5c4f7a0b1cbb7df36b24afe