diff options
| author | Riddle Hsu <riddlehsu@google.com> | 2022-01-11 16:40:06 +0800 |
|---|---|---|
| committer | Riddle Hsu <riddlehsu@google.com> | 2022-01-12 17:48:15 +0800 |
| commit | 47a37486f7ab26aa27b6378be248927243f78261 (patch) | |
| tree | d5584bd3ab8951a7bafd1a5722c0f65256a61019 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 9771f44dad0df4e701eece00fb50b5f73df44f7e (diff) | |
Use screen rotation animation only if the display has content
It is unnecessary to run animation which is invisible to user.
Especially when adding a new display which is empty initially.
Also make sure that the leash for fade rotation animation is valid.
(For the case if the animation was canceled by other places.)
Bug: 213562756
Test: Either use legacy transition or shell transition.
Start ScreenRecord and check logcat that there is no
"Screen frozen" or "Creating Transition".
Change-Id: I8e905e4161a8eb768eadda4b160af57b7148f81d
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
