diff options
| author | 2022-09-30 17:02:37 +0800 | |
|---|---|---|
| committer | 2023-04-13 07:42:43 +0000 | |
| commit | efcb4ff256d9e0405ffaecd6142bca67530e43b3 (patch) | |
| tree | e2e515085a1202dd3cf05e8c792f14c3f405dc38 /api/api.go | |
| parent | 6216ab81c1d69699f6dcf76d59a4af646d10234e (diff) | |
Fix NPE when store brightness and displayDevice is null
This issue can cause a phone reboot, we have to make sure displayDevice is not null before getting its unique id.
Bug: 249782095
Test: manual
Change-Id: Iec57f44798820ac741bd2e6843874fb2b1aaef12
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions