am 30dca470: am f0a80b68: am ea74883e: am fe01ab10: Merge "Account for alpha in hasShadow()" into lmp-dev

* commit '30dca470d6b261433f0ad11117e5dff7d9124d9e':
  Account for alpha in hasShadow()
diff --git a/libs/hwui/RenderProperties.h b/libs/hwui/RenderProperties.h
index 46eeb6a..b936d4b 100644
--- a/libs/hwui/RenderProperties.h
+++ b/libs/hwui/RenderProperties.h
@@ -570,7 +570,9 @@
     }
 
     bool hasShadow() const {
-        return getZ() >= 0.0f && getOutline().getPath() != NULL;
+        return getZ() >= 0.0f
+                && getOutline().getPath() != NULL
+                && getOutline().getAlpha() != 0.0f;
     }
 
 private: