diff options
author | Kevin Han <kevhan@google.com> | 2021-09-14 16:07:43 -0700 |
---|---|---|
committer | Kevin Han <kevhan@google.com> | 2021-09-18 00:41:12 +0000 |
commit | b2eea3ed0f6234d4c6e2755418238a4b0b7656bb (patch) | |
tree | 165757ae9c9ba5215ae826a0f3694c63e3c7b9ff /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 1f0126502460201ec38ce06c1cc4c2a52b9fe242 (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
(cherry picked from commit 984ea4250d8d09299f04ce6b5dce2f51d60b34b5)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions