Fixed issue where layers were not always used
Fixed issue where requiresLayer logic was filtering
on the type of stretch behavior when it should no
longer be the case in order to maintain consistent
rendering behavior across stretch behaviors
Fixes: 188923672
Test: Added HWUI StretchEffect test
Change-Id: Ief4f010949b97302bd2d71f26f0f892c8e7f374f
diff --git a/libs/hwui/Android.bp b/libs/hwui/Android.bp
index c6ab8a2..d8715db 100644
--- a/libs/hwui/Android.bp
+++ b/libs/hwui/Android.bp
@@ -671,6 +671,7 @@
"tests/unit/SkiaPipelineTests.cpp",
"tests/unit/SkiaRenderPropertiesTests.cpp",
"tests/unit/SkiaCanvasTests.cpp",
+ "tests/unit/StretchEffectTests.cpp",
"tests/unit/StringUtilsTests.cpp",
"tests/unit/TestUtilsTests.cpp",
"tests/unit/ThreadBaseTests.cpp",