summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorKevin Han <kevhan@google.com>2021-09-14 16:07:43 -0700
committerKevin Han <kevhan@google.com>2021-09-14 16:07:43 -0700
commit984ea4250d8d09299f04ce6b5dce2f51d60b34b5 (patch)
tree8dcd0c6615067dbb82f1fb98d5d2d92db740c024 /core/java/android/inputmethodservice/AbstractInputMethodService.java
parent3c61877262037554074475881bf603ef9a516b52 (diff)
Fix NPE in app hibernation dump command.
Incorrectly used index instead of the user id to key into the SparseArray, causing a null value to be returned instead of the actual states map for the user. This fixes the issue. Bug: 199935092 Test: Make a new user; adb shell dumpsys app_hibernation Change-Id: I3f6fcfbaa7a5e83bcf2be46c9e05e5f2f76adf52
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions