diff options
| author | 2021-05-05 13:54:35 +0200 | |
|---|---|---|
| committer | 2021-05-05 13:54:35 +0200 | |
| commit | 84b854872b937a67db8a0e768a0be8ed41a246f7 (patch) | |
| tree | 6e6051b49f51ed5219f11b006afda340dfe6c7c3 /libs/gui/DisplayEventReceiver.cpp | |
| parent | 7eba108a9eac93c06168e3d8b1d4bfb926f4ca42 (diff) | |
SF: Check the active mode for nullptr in dumpsys
We alredy have the check for mSupportedModes.size()==0 which
is supposed to be equivalent to getActiveMode()==nullptr.
However it's better to directly null check getActiveMode()
in case the logic changes in the future.
Fixes: 183381694
Test: dumpsys surfaceflinger
Change-Id: I49bdcb9636e3699bb720a84b6f789790c636b9b5
Diffstat (limited to 'libs/gui/DisplayEventReceiver.cpp')
0 files changed, 0 insertions, 0 deletions