commit | 9360a2252aa2c4e2909e004b2153b49ebd6fa430 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Wed Feb 27 17:05:30 2019 -0800 |
committer | Ady Abraham <adyabr@google.com> | Thu Feb 28 18:22:49 2019 +0000 |
tree | 0061363bbfacf4e93cc51395ce836a482b9139d1 | |
parent | d9b3ea613a021c7b393db967298fc8fa2fef7300 [diff] |
SurfaceFlinger: fix dispatching DISPLAY_EVENT_CONFIG_CHANGED When setting a new desired config, we might be in the middle of a previous config changed. We need to maintain the information about whether we need to generate a config changed event and dispatch it when we are done with the config switch. Test: manual test to change config from SF Bug: 122905403 Change-Id: I7efad63b666e83f6459a65a40e6cc880119ca7f6