diff options
| author | 2024-08-29 09:38:43 +0000 | |
|---|---|---|
| committer | 2024-08-29 13:03:46 +0000 | |
| commit | 576b95bf1690a6ce3b47a3fb29330b210595a115 (patch) | |
| tree | a887ee460668256ccad65f8df0961b21105f2446 /libs/androidfw/StringPool.cpp | |
| parent | c30ba6232c0e0cbcdeb5a8404ccbefe009a83c95 (diff) | |
Prevent initial empty state to be propagated in DisplayRepository
Depending on timings, it was possible for the `scan` to propagate the initial state first before calculating the next state based on available display ids.
In this cl the initial state is filtered out, and a log.wtf is added in the case enabledDisplays is empty (which should never happen)
Bug: 361989878
Test: DisplayRepositoryTest#displayFlow_onlyDefaultDisplayAvailable_neverEmitsEmptySet
Flag: NONE small bugfix
Change-Id: I7b7ee6883ca5b5fd95304a0a5f1168d8b5ce2e4e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions