summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorChris Li <lihongyu@google.com>2021-12-27 13:37:17 +0800
committerChris Li <lihongyu@google.com>2021-12-27 13:41:00 +0800
commitb9c1bc336ccebb1c2d1a35447397fc4d2b292d7c (patch)
treea4437fe29dc743757062468ac8f499a3345cde7e /core/java/android/inputmethodservice/InputMethodService.java
parent3e80334893d275be80d1c1b6dbc000b1a76c4fcb (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