Skip to content
Snippets Groups Projects
Commit 04762e2c authored by Shen Lin's avatar Shen Lin
Browse files

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
parent 0ae7fbc3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment