| commit | 84b854872b937a67db8a0e768a0be8ed41a246f7 | [log] [tgz] |
|---|---|---|
| author | Marin Shalamanov <shalamanov@google.com> | Wed May 05 13:54:35 2021 +0200 |
| committer | Marin Shalamanov <shalamanov@google.com> | Wed May 05 13:54:35 2021 +0200 |
| tree | 6e6051b49f51ed5219f11b006afda340dfe6c7c3 | |
| 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