Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment