diff options
author | Kui1 Wu <wukui1@xiaomi.com> | 2021-12-14 13:08:22 +0800 |
---|---|---|
committer | 吴奎 <wukui1@xiaomi.com> | 2021-12-15 00:40:08 +0000 |
commit | 98ae3eea83452382e6a71ff28cb92ac718eb6873 (patch) | |
tree | d62f742c46c940f300df2027f0d0f0d41be92d2c /identity/support/src/cppbor_parse.cpp | |
parent | b32e0230e2f0428e8e5e5d3cb277b6d471f8d7fb (diff) |
fix VtsHalGraphicsComposerV2_2TargetTest timeout failed
run VtsHalGraphicsComposerV2_2TargetTest will timeout failed
when there is dual displays. use `std::unordered_set` Display type,
`std::vector<Display>(mDisplays.begin(), mDisplays.end())` as
getDisplays return value, mDisplays elements order may not be
same as the order of hotplug events during boot matters.
We should store `mDisplays` as `std::vector`, since the order of
hotplug events during boot matters in determining the primary display.
Bug: 209409863
Test: run vts -m VtsHalGraphicsComposerV2_2TargetTest
Signed-off-by: Kui1 Wu <wukui1@xiaomi.com>
Change-Id: I628ad593640f28fb8a916822a91ac2c578cc299d
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions