commit | 09b6e32c1d812bbbf869826ea2cfecdd53d4b6bb | [log] [tgz] |
---|---|---|
author | Marin Shalamanov <shalamanov@google.com> | Tue Feb 23 15:39:43 2021 +0100 |
committer | Marin Shalamanov <shalamanov@google.com> | Tue Mar 02 18:49:21 2021 +0100 |
tree | 17f70c4e87e11c419342ac2e47b01524632352d8 | |
parent | f51c6d573efe412ec986a5c90d01344273b36dbb [diff] |
DisplayModeDirector: Prefer the default mode if available We should prefer the default display mode if it's available. Currently we select the default only if there are no available modes after filtering, or if the default happens to be the first on the list of filtered modes. This fixes a bug where a TV with default display mode of 60Hz boots in 24 Hz. Fixes: 181010496 Test: atest DisplayModeDirectorTest Change-Id: I06a7133ea23c36443f48903eccb6623da7fd93ea