diff options
author | Kui1 Wu <wukui1@xiaomi.com> | 2021-12-14 13:08:22 +0800 |
---|---|---|
committer | Ady Abraham <adyabr@google.com> | 2022-01-05 21:18:51 +0000 |
commit | df417d280874a33a3cda08ef0e295e28ea514628 (patch) | |
tree | 5a7a7e5b29557008878b391a99b4d72ccc06ebbb /camera/common/1.0/default/include/CameraModule.h | |
parent | 41a7f94f879aee66abd6ace5217c16012526ee8c (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 'camera/common/1.0/default/include/CameraModule.h')
0 files changed, 0 insertions, 0 deletions