commit | 3bb89739b98cec21de5f6bfee027de3537963a25 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Mon Apr 08 11:22:01 2019 -0700 |
committer | Ady Abraham <adyabr@google.com> | Mon Apr 08 13:23:17 2019 -0700 |
tree | 103650a356b5f668317d60494e02fa29a334829e | |
parent | 85b3f01b5e5b89a0453d0e0eb6c9bd62e05bb2ef [diff] |
SurfaceFlinger: use std::set for DisplayConfigs Use std::set instead of std::unordered::set in order to keep the configs sorted. This is useful as we would return a sorted vector from getAllowedDisplayConfigs() and the unittest expects that. Test: adb shell /data/nativetest64/SurfaceFlinger_test/SurfaceFlinger_test --gtest_filter=DisplayActiveConfigTest.allConfigsAllowed Fixes: 130168276 Change-Id: Ifc1f2be561193d93032e99eb10faa7dcce1ff21d