commit | 533e8e2d53218ca45ff9e5f369426eaf578a7c66 | [log] [tgz] |
---|---|---|
author | Marin Shalamanov <shalamanov@google.com> | Mon Jun 08 20:35:48 2020 +0200 |
committer | Marin Shalamanov <shalamanov@google.com> | Tue Jun 09 08:59:28 2020 +0000 |
tree | 6994883e996b26c91c432cebf469d84f4abbb2c5 | |
parent | 607a0c6d5a2bb18fdf11374a40f5ffedca96d650 [diff] |
[SF] Don't crash if HWC returns an unknown config When we call getActiveConfig() after HWC updates its modes and before notifying us, we'll get an unknown configuration. This change fixes a null pointer dereference in this scenario. Bug: 158481338 Test: m surfaceflinger && flash Change-Id: Ifa812628d238e4eb7873a163c834abc9f380bb0a