commit | 844e29aab28ecfa4044c63dc1698564f08a21c88 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Mon Apr 20 21:06:30 2020 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Mon Apr 20 21:11:31 2020 +0800 |
tree | 332eae97810ef4f69ebdb37b1576c0d27581b432 | |
parent | 9f11dd4b649af1b984824eda53a9d0d6227f1257 [diff] |
Use current display surface size for custom rotation animation The animation starts after the display has been rotated, so the current size is available to use as how the normal rotation is configured. Fixes: 151135285 Test: Rotate an activity with ROTATION_ANIMATION_CROSSFADE and check there is no split effect in the center of screen. Change-Id: I68cc4c83983210e87c44014817ff4b84305ba32d