Loading libs/hwui/RenderProperties.h +3 −1 Original line number Original line Diff line number Diff line Loading @@ -570,7 +570,9 @@ public: } } bool hasShadow() const { bool hasShadow() const { return getZ() >= 0.0f && getOutline().getPath() != NULL; return getZ() >= 0.0f && getOutline().getPath() != NULL && getOutline().getAlpha() != 0.0f; } } private: private: Loading Loading
libs/hwui/RenderProperties.h +3 −1 Original line number Original line Diff line number Diff line Loading @@ -570,7 +570,9 @@ public: } } bool hasShadow() const { bool hasShadow() const { return getZ() >= 0.0f && getOutline().getPath() != NULL; return getZ() >= 0.0f && getOutline().getPath() != NULL && getOutline().getAlpha() != 0.0f; } } private: private: Loading