summaryrefslogtreecommitdiff
path: root/libs/hwui/effects/StretchEffect.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/effects/StretchEffect.h')
-rw-r--r--libs/hwui/effects/StretchEffect.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/hwui/effects/StretchEffect.h b/libs/hwui/effects/StretchEffect.h
index 0e1a654e8c9a..64fb2bf7ef18 100644
--- a/libs/hwui/effects/StretchEffect.h
+++ b/libs/hwui/effects/StretchEffect.h
@@ -110,8 +110,7 @@ public:
}
bool requiresLayer() const {
- return !(isEmpty() ||
- Properties::stretchEffectBehavior == StretchEffectBehavior::UniformScale);
+ return !isEmpty();
}
private: