diff options
| -rw-r--r-- | services/surfaceflinger/tests/unittests/LayerHistoryIntegrationTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/surfaceflinger/tests/unittests/LayerHistoryIntegrationTest.cpp b/services/surfaceflinger/tests/unittests/LayerHistoryIntegrationTest.cpp index 787fa1c5e4..8a412f8509 100644 --- a/services/surfaceflinger/tests/unittests/LayerHistoryIntegrationTest.cpp +++ b/services/surfaceflinger/tests/unittests/LayerHistoryIntegrationTest.cpp @@ -1030,6 +1030,7 @@ protected: }; TEST_F(SmallAreaDetectionTest, SmallDirtyLayer) { + SET_FLAG_FOR_TEST(flags::enable_small_area_detection, true); auto layer = createLegacyAndFrontedEndLayer(1); nsecs_t time = systemTime(); @@ -1047,6 +1048,7 @@ TEST_F(SmallAreaDetectionTest, SmallDirtyLayer) { } TEST_F(SmallAreaDetectionTest, NotSmallDirtyLayer) { + SET_FLAG_FOR_TEST(flags::enable_small_area_detection, true); auto layer = createLegacyAndFrontedEndLayer(1); nsecs_t time = systemTime(); @@ -1064,6 +1066,7 @@ TEST_F(SmallAreaDetectionTest, NotSmallDirtyLayer) { } TEST_F(SmallAreaDetectionTest, smallDirtyLayerWithMatrix) { + SET_FLAG_FOR_TEST(flags::enable_small_area_detection, true); auto layer = createLegacyAndFrontedEndLayer(1); nsecs_t time = systemTime(); |