diff options
| author | 2021-07-15 10:04:40 -0700 | |
|---|---|---|
| committer | 2021-07-15 17:06:22 +0000 | |
| commit | faac6da6ad9db0b84d516eae1bb073ba39c29b43 (patch) | |
| tree | 0071b6ac2b98257a57fca94ccb5cb115c6b7f19c /libs/battery/LongArrayMultiStateCounterTest.cpp | |
| parent | 0957669e413216016e33649a6fd5fe939604dccf (diff) | |
SF: fix a crash in SurfaceFlinger::setActiveModeInternal
Add a null check for the upcoming mode before trying to access it.
Bug: 193760364
Test: fold & unfold device
Change-Id: Ia381db8dd048dcca8fc2535bbb6d668fd32010a9
Diffstat (limited to 'libs/battery/LongArrayMultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions