Enable effect layers with blur

Change-Id: Ia13f0b6d816aa918433297567735482dc5b3502e
Test: launch apps
Bug: 149792636
Fixes: 148804546
diff --git a/services/surfaceflinger/EffectLayer.h b/services/surfaceflinger/EffectLayer.h
index 33758b6..1dcb633 100644
--- a/services/surfaceflinger/EffectLayer.h
+++ b/services/surfaceflinger/EffectLayer.h
@@ -62,7 +62,9 @@
 private:
     // Returns true if there is a valid color to fill.
     bool fillsColor() const;
-    bool hasSomethingToDraw() const { return fillsColor() || drawShadows(); }
+    // Returns true if this layer has a blur value.
+    bool hasBlur() const;
+    bool hasSomethingToDraw() const { return fillsColor() || drawShadows() || hasBlur(); }
 };
 
 } // namespace android