summaryrefslogtreecommitdiff
path: root/libs/gui/WindowInfo.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2023-11-22 14:40:36 -0500
committer Leon Scroggins III <scroggo@google.com> 2023-12-07 15:27:56 -0500
commitd8e36f342bd62461d8b2cab0c67f3a76fadbbd04 (patch)
tree4fc988a29807059419fdf7b37b3cca387ac35116 /libs/gui/WindowInfo.cpp
parent9a8dd7cf6071e06ec960cabb77405135145dbed5 (diff)
SF FlagManager: ignore debug override during tests
Tests use SET_FLAG_FOR_TEST, which specifies the value of the flag that the test is expecting. But if the debug override is set, the test will test under the wrong conditions. In addition, there is no need to modify the static value in unit test mode. Simply return the value returned by the flag system. Bug: 241285491 Test: libsurfaceflinger_unittest:FlagManagerTest Test: libcompositionengine_test after Ie2836e07e900c0269d60112ec0ebfa82ee4b82d7 with different values set for debug.sf.multithreaded_present Change-Id: Ide557e06ed7511b47033c2cb7016ad81bac40dad
Diffstat (limited to 'libs/gui/WindowInfo.cpp')
0 files changed, 0 insertions, 0 deletions