diff options
| author | Chris Li <lihongyu@google.com> | 2021-12-27 13:37:17 +0800 |
|---|---|---|
| committer | Chris Li <lihongyu@google.com> | 2021-12-27 13:41:00 +0800 |
| commit | b9c1bc336ccebb1c2d1a35447397fc4d2b292d7c (patch) | |
| tree | a4437fe29dc743757062468ac8f499a3345cde7e /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 3e80334893d275be80d1c1b6dbc000b1a76c4fcb (diff) | |
Fix NPE when entering PIP from different orientation
1. handleRequest for TRANSIT_PIP will happen before the Task appeared,
so setting ENTRY_SCHEDULED in handleRequest will cause the rotation to
access the leash before Task appeared, which causes NPE.
2. We don't want to do fixed rotation launch in Core when Shell
transition is enabled. Otherwise it will stuck at waiting for continue
rotation.
TODO: handle PIP to Fullscreen rotation in Shell transition
Bug: 210965919
Test: manual test entering PIP from different orientation without NPE
Change-Id: Ie5e61a5cf05eff7a0c1adb731d5f3d8677e0f091
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
