commit | 04762e2c59000b0237349fd874e1f0905dd29b96 | [log] [tgz] |
---|---|---|
author | Shen Lin <shhenlin@gmail.com> | Fri Dec 08 10:15:45 2023 +0800 |
committer | Shen Lin <shhenlin@gmail.com> | Mon Dec 18 06:03:22 2023 +0000 |
tree | 9b391f419d0393ef9a6388896e928f663659fd6b | |
parent | 0ae7fbc36c726b1d6be6ace1917c14f472ba13d4 [diff] |
Fix NPE in requestPowerState when displayPowerController is null We get displayPowerController object from a SparseArray so it would be better to guard by a lock object or add a null check. Bug: 315308333 Test: atest, manual Change-Id: Ic6713d85aa09e660c9dc14f01ac05c4d394922fd